Debian Codegraph @

src/uu/date/locales/en-US.ftl

raw
1 date-about =
2 Print or set the system date and time
3
4 date-usage =
5 date [OPTION]... [+FORMAT]...
6 date [OPTION]... [MMDDhhmm[[CC]YY][.ss]]
7
8 FORMAT controls the output. Interpreted sequences are:
9 { "| Sequence | Description | Example |" }
10 { "| -------- | -------------------------------------------------------------------- | ---------------------- |" }
11 { "| %% | a literal % | % |" }
12 { "| %a | locale's abbreviated weekday name | Sun |" }
13 { "| %A | locale's full weekday name | Sunday |" }
14 { "| %b | locale's abbreviated month name | Jan |" }
15 { "| %B | locale's full month name | January |" }
16 { "| %c | locale's date and time | Thu Mar 3 23:05:25 2005|" }
17 { "| %C | century; like %Y, except omit last two digits | 20 |" }
18 { "| %d | day of month | 01 |" }
19 { "| %D | date; same as %m/%d/%y | 12/31/99 |" }
20 { "| %e | day of month, space padded; same as %_d | 3 |" }
21 { "| %F | full date; same as %Y-%m-%d | 2005-03-03 |" }
22 { "| %g | last two digits of year of ISO week number (see %G) | 05 |" }
23 { "| %G | year of ISO week number (see %V); normally useful only with %V | 2005 |" }
24 { "| %h | same as %b | Jan |" }
25 { "| %H | hour (00..23) | 23 |" }
26 { "| %I | hour (01..12) | 11 |" }
27 { "| %j | day of year (001..366) | 062 |" }
28 { "| %k | hour, space padded ( 0..23); same as %_H | 3 |" }
29 { "| %l | hour, space padded ( 1..12); same as %_I | 9 |" }
30 { "| %m | month (01..12) | 03 |" }
31 { "| %M | minute (00..59) | 30 |" }
32 { "| %n | a newline | \\n |" }
33 { "| %N | nanoseconds (000000000..999999999) | 123456789 |" }
34 { "| %p | locale's equivalent of either AM or PM; blank if not known | PM |" }
35 { "| %P | like %p, but lower case | pm |" }
36 { "| %q | quarter of year (1..4) | 1 |" }
37 { "| %r | locale's 12-hour clock time | 11:11:04 PM |" }
38 { "| %R | 24-hour hour and minute; same as %H:%M | 23:30 |" }
39 { "| %s | seconds since 1970-01-01 00:00:00 UTC | 1615432800 |" }
40 { "| %S | second (00..60) | 30 |" }
41 { "| %t | a tab | \\t |" }
42 { "| %T | time; same as %H:%M:%S | 23:30:30 |" }
43 { "| %u | day of week (1..7); 1 is Monday | 4 |" }
44 { "| %U | week number of year, with Sunday as first day of week (00..53) | 10 |" }
45 { "| %V | ISO week number, with Monday as first day of week (01..53) | 12 |" }
46 { "| %w | day of week (0..6); 0 is Sunday | 4 |" }
47 { "| %W | week number of year, with Monday as first day of week (00..53) | 11 |" }
48 { "| %x | locale's date representation | 03/03/2005 |" }
49 { "| %X | locale's time representation | 23:30:30 |" }
50 { "| %y | last two digits of year (00..99) | 05 |" }
51 { "| %Y | year | 2005 |" }
52 { "| %z | +hhmm numeric time zone | -0400 |" }
53 { "| %:z | +hh:mm numeric time zone | -04:00 |" }
54 { "| %::z | +hh:mm:ss numeric time zone | -04:00:00 |" }
55 { "| %:::z | numeric time zone with : to necessary precision | -04, +05:30 |" }
56 { "| %Z | alphabetic time zone abbreviation | EDT |" }
57
58 By default, date pads numeric fields with zeroes.
59 The following optional flags may follow '%':
60 { "* `-` (hyphen) do not pad the field" }
61 { "* `_` (underscore) pad with spaces" }
62 { "* `0` (zero) pad with zeros" }
63 { "* `^` use upper case if possible" }
64 { "* `#` use opposite case if possible" }
65 After any flags comes an optional field width, as a decimal number;
66 then an optional modifier, which is either
67 { "* `E` to use the locale's alternate representations if available, or" }
68 { "* `O` to use the locale's alternate numeric symbols if available." }
69 Examples:
70 Convert seconds since the epoch (1970-01-01 UTC) to a date
71
72 date --date='@2147483647'
73
74 Show the time on the west coast of the US (use tzselect(1) to find TZ)
75
76 TZ='America/Los_Angeles' date
77
78 date-help-date = display time described by STRING, not 'now'
79 date-help-file = like --date; once for each line of DATEFILE
80 date-help-iso-8601 = output date/time in ISO 8601 format.
81 FMT='date' for date only (the default),
82 'hours', 'minutes', 'seconds', or 'ns'
83 for date and time to the indicated precision.
84 Example: 2006-08-14T02:34:56-06:00
85 date-help-resolution = output the available resolution of timestamps
86 Example: 0.000000001
87 date-help-rfc-email = output date and time in RFC 5322 format.
88 Example: Mon, 14 Aug 2006 02:34:56 -0600
89 date-help-rfc-3339 = output date/time in RFC 3339 format.
90 FMT='date', 'seconds', or 'ns'
91 for date and time to the indicated precision.
92 Example: 2006-08-14 02:34:56-06:00
93 date-help-debug = annotate the parsed date, and warn about questionable usage to stderr
94 date-help-reference = display the last modification time of FILE
95 date-help-set = set time described by STRING
96 date-help-set-macos = set time described by STRING (not available on mac yet)
97 date-help-set-redox = set time described by STRING (not available on redox yet)
98 date-help-universal = print or set Coordinated Universal Time (UTC)
99
100 date-error-invalid-date = invalid date '{$date}'
101 date-error-invalid-format = invalid format '{$format}' ({$error})
102 date-error-expected-file-got-directory = expected file, got directory {$path}
103 date-error-date-overflow = date overflow '{$date}'
104 date-error-setting-date-not-supported-macos = setting the date is not supported by macOS
105 date-error-setting-date-not-supported-redox = setting the date is not supported by Redox
106 date-error-cannot-set-date = cannot set date
107 date-error-extra-operand = extra operand '{$operand}'
108 date-error-write = write error: {$error}
109 date-error-format-modifier-width-too-large = format modifier width '{$width}' is too large for specifier '%{$specifier}'
110 date-error-format-missing-plus = the argument {$arg} lacks a leading '+';
111 when using an option to specify date(s), any non-option
112 argument must be a format string beginning with '+'