From d885e0efd758ad3aa3973d70631ff53ea74c965d Mon Sep 17 00:00:00 2001 From: Remo Senekowitsch Date: Mon, 4 May 2026 12:48:36 +0200 Subject: [PATCH] completions/date: add rfc-3339 option Closes #12703 --- localization/po/de.po | 9 +++++++++ localization/po/en.po | 9 +++++++++ localization/po/es.po | 9 +++++++++ localization/po/fr.po | 9 +++++++++ localization/po/ja_JP.po | 9 +++++++++ localization/po/pl.po | 9 +++++++++ localization/po/pt_BR.po | 9 +++++++++ localization/po/sv.po | 9 +++++++++ localization/po/zh_CN.po | 9 +++++++++ localization/po/zh_TW.po | 9 +++++++++ share/completions/date.fish | 3 +++ 11 files changed, 93 insertions(+) diff --git a/localization/po/de.po b/localization/po/de.po index 81a4b742b..a1d64663d 100644 --- a/localization/po/de.po +++ b/localization/po/de.po @@ -41168,6 +41168,15 @@ msgstr "" msgid "Output in RFC 2822 format" msgstr "" +msgid "Output in RFC 3339 format with date precision" +msgstr "" + +msgid "Output in RFC 3339 format with nanosecond precision" +msgstr "" + +msgid "Output in RFC 3339 format with second precision" +msgstr "" + msgid "Output in an easy-to-parse format for scripts" msgstr "" diff --git a/localization/po/en.po b/localization/po/en.po index 96c6d1e05..b3a52215d 100644 --- a/localization/po/en.po +++ b/localization/po/en.po @@ -41168,6 +41168,15 @@ msgstr "" msgid "Output in RFC 2822 format" msgstr "" +msgid "Output in RFC 3339 format with date precision" +msgstr "" + +msgid "Output in RFC 3339 format with nanosecond precision" +msgstr "" + +msgid "Output in RFC 3339 format with second precision" +msgstr "" + msgid "Output in an easy-to-parse format for scripts" msgstr "" diff --git a/localization/po/es.po b/localization/po/es.po index fc6fdb52e..f265efb28 100644 --- a/localization/po/es.po +++ b/localization/po/es.po @@ -41168,6 +41168,15 @@ msgstr "" msgid "Output in RFC 2822 format" msgstr "" +msgid "Output in RFC 3339 format with date precision" +msgstr "" + +msgid "Output in RFC 3339 format with nanosecond precision" +msgstr "" + +msgid "Output in RFC 3339 format with second precision" +msgstr "" + msgid "Output in an easy-to-parse format for scripts" msgstr "" diff --git a/localization/po/fr.po b/localization/po/fr.po index 28e276fa3..978528b2f 100644 --- a/localization/po/fr.po +++ b/localization/po/fr.po @@ -41297,6 +41297,15 @@ msgstr "" msgid "Output in RFC 2822 format" msgstr "" +msgid "Output in RFC 3339 format with date precision" +msgstr "" + +msgid "Output in RFC 3339 format with nanosecond precision" +msgstr "" + +msgid "Output in RFC 3339 format with second precision" +msgstr "" + msgid "Output in an easy-to-parse format for scripts" msgstr "" diff --git a/localization/po/ja_JP.po b/localization/po/ja_JP.po index 02852661d..79672b704 100644 --- a/localization/po/ja_JP.po +++ b/localization/po/ja_JP.po @@ -41171,6 +41171,15 @@ msgstr "" msgid "Output in RFC 2822 format" msgstr "" +msgid "Output in RFC 3339 format with date precision" +msgstr "" + +msgid "Output in RFC 3339 format with nanosecond precision" +msgstr "" + +msgid "Output in RFC 3339 format with second precision" +msgstr "" + msgid "Output in an easy-to-parse format for scripts" msgstr "" diff --git a/localization/po/pl.po b/localization/po/pl.po index f75a2d34f..2e2ef4dda 100644 --- a/localization/po/pl.po +++ b/localization/po/pl.po @@ -41164,6 +41164,15 @@ msgstr "" msgid "Output in RFC 2822 format" msgstr "" +msgid "Output in RFC 3339 format with date precision" +msgstr "" + +msgid "Output in RFC 3339 format with nanosecond precision" +msgstr "" + +msgid "Output in RFC 3339 format with second precision" +msgstr "" + msgid "Output in an easy-to-parse format for scripts" msgstr "" diff --git a/localization/po/pt_BR.po b/localization/po/pt_BR.po index d9ab221c6..47a9f9741 100644 --- a/localization/po/pt_BR.po +++ b/localization/po/pt_BR.po @@ -41169,6 +41169,15 @@ msgstr "" msgid "Output in RFC 2822 format" msgstr "" +msgid "Output in RFC 3339 format with date precision" +msgstr "" + +msgid "Output in RFC 3339 format with nanosecond precision" +msgstr "" + +msgid "Output in RFC 3339 format with second precision" +msgstr "" + msgid "Output in an easy-to-parse format for scripts" msgstr "" diff --git a/localization/po/sv.po b/localization/po/sv.po index 3522ab298..e85a4f0ad 100644 --- a/localization/po/sv.po +++ b/localization/po/sv.po @@ -41165,6 +41165,15 @@ msgstr "" msgid "Output in RFC 2822 format" msgstr "" +msgid "Output in RFC 3339 format with date precision" +msgstr "" + +msgid "Output in RFC 3339 format with nanosecond precision" +msgstr "" + +msgid "Output in RFC 3339 format with second precision" +msgstr "" + msgid "Output in an easy-to-parse format for scripts" msgstr "" diff --git a/localization/po/zh_CN.po b/localization/po/zh_CN.po index 934081dad..f8392b04a 100644 --- a/localization/po/zh_CN.po +++ b/localization/po/zh_CN.po @@ -41189,6 +41189,15 @@ msgstr "" msgid "Output in RFC 2822 format" msgstr "" +msgid "Output in RFC 3339 format with date precision" +msgstr "" + +msgid "Output in RFC 3339 format with nanosecond precision" +msgstr "" + +msgid "Output in RFC 3339 format with second precision" +msgstr "" + msgid "Output in an easy-to-parse format for scripts" msgstr "" diff --git a/localization/po/zh_TW.po b/localization/po/zh_TW.po index be8bab9e2..56165ee59 100644 --- a/localization/po/zh_TW.po +++ b/localization/po/zh_TW.po @@ -41166,6 +41166,15 @@ msgstr "" msgid "Output in RFC 2822 format" msgstr "" +msgid "Output in RFC 3339 format with date precision" +msgstr "" + +msgid "Output in RFC 3339 format with nanosecond precision" +msgstr "" + +msgid "Output in RFC 3339 format with second precision" +msgstr "" + msgid "Output in an easy-to-parse format for scripts" msgstr "" diff --git a/share/completions/date.fish b/share/completions/date.fish index cc623f6cc..f4feae130 100644 --- a/share/completions/date.fish +++ b/share/completions/date.fish @@ -5,6 +5,9 @@ if date --version >/dev/null 2>/dev/null complete -c date -s I -l iso-8601 -d "Use ISO 8601 output format" -x -a "date hours minutes seconds" complete -c date -s s -l set -d "Set time" -x complete -c date -s R -l rfc-2822 -d "Output in RFC 2822 format" + complete -c date -l rfc-3339=date -d "Output in RFC 3339 format with date precision" + complete -c date -l rfc-3339=second -d "Output in RFC 3339 format with second precision" + complete -c date -l rfc-3339=ns -d "Output in RFC 3339 format with nanosecond precision" complete -c date -s r -l reference -d "Display last modification time of file" -r complete -c date -s u -l utc -d "Print/set UTC time" -f complete -c date -l universal -d "Print/set UTC time" -f