Debian Codegraph @

templates/man3/strftime.3.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:45+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "strftime"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "strftime - format date and time"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "B<#include E<lt>time.hE<gt>>\n"
77 msgstr ""
78
79 #. type: Plain text
80 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
81 #: opensuse-tumbleweed
82 #, no-wrap
83 msgid ""
84 "B<size_t strftime(>size_t max;\n"
85 "B< char >I<s>B<[restrict >I<max>B<], size_t >I<max>B<,>\n"
86 "B< const char *restrict >I<format>B<,>\n"
87 "B< const struct tm *restrict >I<tm>B<);>\n"
88 msgstr ""
89
90 #. type: Plain text
91 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
92 #: opensuse-tumbleweed
93 #, no-wrap
94 msgid ""
95 "B<size_t strftime_l(>size_t max;\n"
96 "B< char >I<s>B<[restrict >I<max>B<], size_t >I<max>B<,>\n"
97 "B< const char *restrict >I<format>B<,>\n"
98 "B< const struct tm *restrict >I<tm>B<,>\n"
99 "B< locale_t >I<locale>B<);>\n"
100 msgstr ""
101
102 #. type: SH
103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
105 #, no-wrap
106 msgid "DESCRIPTION"
107 msgstr ""
108
109 #. FIXME . POSIX says: Local timezone information is used as though
110 #. strftime() called tzset(). But this doesn't appear to be the case
111 #. type: Plain text
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 msgid ""
115 "The B<strftime>() function formats the broken-down time I<tm> according to "
116 "the format specification I<format> and places the result in the character "
117 "array I<s> of size I<max>. The broken-down time structure I<tm> is defined "
118 "in I<E<lt>time.hE<gt>>. See also B<ctime>(3)."
119 msgstr ""
120
121 #. type: Plain text
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 msgid ""
125 "The format specification is a null-terminated string and may contain special "
126 "character sequences called I<conversion specifications>, each of which is "
127 "introduced by a \\[aq]%\\[aq] character and terminated by some other "
128 "character known as a I<conversion specifier character>. All other character "
129 "sequences are I<ordinary character sequences>."
130 msgstr ""
131
132 #. type: Plain text
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 msgid ""
136 "The characters of ordinary character sequences (including the null byte) "
137 "are copied verbatim from I<format> to I<s>. However, the characters of "
138 "conversion specifications are replaced as shown in the list below. In this "
139 "list, the field(s) employed from the I<tm> structure are also shown."
140 msgstr ""
141
142 #. type: TP
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 #, no-wrap
146 msgid "B<%a>"
147 msgstr ""
148
149 #. type: Plain text
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 msgid ""
153 "The abbreviated name of the day of the week according to the current "
154 "locale. (Calculated from I<tm_wday>.) (The specific names used in the "
155 "current locale can be obtained by calling B<nl_langinfo>(3) with "
156 "B<ABDAY_>{B<1>\\[en]B<7>} as an argument.)"
157 msgstr ""
158
159 #. type: TP
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 #, no-wrap
163 msgid "B<%A>"
164 msgstr ""
165
166 #. type: Plain text
167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
169 msgid ""
170 "The full name of the day of the week according to the current locale. "
171 "(Calculated from I<tm_wday>.) (The specific names used in the current "
172 "locale can be obtained by calling B<nl_langinfo>(3) with B<DAY_>{B<1>\\"
173 "[en]B<7>} as an argument.)"
174 msgstr ""
175
176 #. type: TP
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 #, no-wrap
180 msgid "B<%b>"
181 msgstr ""
182
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 msgid ""
187 "The abbreviated month name according to the current locale. (Calculated "
188 "from I<tm_mon>.) (The specific names used in the current locale can be "
189 "obtained by calling B<nl_langinfo>(3) with B<ABMON_>{B<1>\\[en]B<12>} as an "
190 "argument.)"
191 msgstr ""
192
193 #. type: TP
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 #, no-wrap
197 msgid "B<%B>"
198 msgstr ""
199
200 #. type: Plain text
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 msgid ""
204 "The full month name according to the current locale. (Calculated from "
205 "I<tm_mon>.) (The specific names used in the current locale can be obtained "
206 "by calling B<nl_langinfo>(3) with B<MON_>{B<1>\\[en]B<12>} as an argument.)"
207 msgstr ""
208
209 #. type: TP
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 #, no-wrap
213 msgid "B<%c>"
214 msgstr ""
215
216 #. type: Plain text
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 msgid ""
220 "The preferred date and time representation for the current locale. (The "
221 "specific format used in the current locale can be obtained by calling "
222 "B<nl_langinfo>(3) with B<D_T_FMT> as an argument for the B<%c> conversion "
223 "specification, and with B<ERA_D_T_FMT> for the B<%Ec> conversion "
224 "specification.) (In the POSIX locale this is equivalent to B<%a %b %e %H:%M:"
225 "%S %Y>.)"
226 msgstr ""
227
228 #. type: TP
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 #, no-wrap
232 msgid "B<%C>"
233 msgstr ""
234
235 #. type: Plain text
236 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
237 #: opensuse-tumbleweed
238 msgid ""
239 "The century number (year/100) as a 2-digit integer. (SU) (The B<%EC> "
240 "conversion specification corresponds to the name of the era.) (Calculated "
241 "from I<tm_year>.)"
242 msgstr ""
243
244 #. type: TP
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "B<%d>"
249 msgstr ""
250
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 msgid ""
255 "The day of the month as a decimal number (range 01 to 31). (Calculated from "
256 "I<tm_mday>.)"
257 msgstr ""
258
259 #. type: TP
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 #, no-wrap
263 msgid "B<%D>"
264 msgstr ""
265
266 #. type: Plain text
267 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
268 #: opensuse-tumbleweed
269 msgid ""
270 "Equivalent to B<%m/%d/%y>. (Yecch\\[em]for Americans only. Americans "
271 "should note that in other countries B<%d/%m/%y> is rather common. This "
272 "means that in international context this format is ambiguous and should not "
273 "be used.) (SU)"
274 msgstr ""
275
276 #. type: TP
277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
279 #, no-wrap
280 msgid "B<%e>"
281 msgstr ""
282
283 #. type: Plain text
284 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
285 #: opensuse-tumbleweed
286 msgid ""
287 "Like B<%d>, the day of the month as a decimal number, but a leading zero is "
288 "replaced by a space. (SU) (Calculated from I<tm_mday>.)"
289 msgstr ""
290
291 #. type: TP
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 #, no-wrap
295 msgid "B<%E>"
296 msgstr ""
297
298 #. type: Plain text
299 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
300 #: opensuse-tumbleweed
301 msgid "Modifier: use alternative (\"era-based\") format; see below. (SU)"
302 msgstr ""
303
304 #. type: TP
305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
307 #, no-wrap
308 msgid "B<%F>"
309 msgstr ""
310
311 #. type: Plain text
312 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
313 #: opensuse-tumbleweed
314 msgid "Equivalent to B<%Y-%m-%d> (the ISO\\ 8601 date format). (C99)"
315 msgstr ""
316
317 #. type: TP
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 #, no-wrap
321 msgid "B<%G>"
322 msgstr ""
323
324 #. type: Plain text
325 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
326 #: opensuse-tumbleweed
327 msgid ""
328 "The ISO\\ 8601 week-based year (see NOTES) with century as a decimal "
329 "number. The 4-digit year corresponding to the ISO week number (see B<%V>). "
330 "This has the same format and value as B<%Y>, except that if the ISO week "
331 "number belongs to the previous or next year, that year is used instead. "
332 "(TZ) (Calculated from I<tm_year>, I<tm_yday>, and I<tm_wday>.)"
333 msgstr ""
334
335 #. type: TP
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 #, no-wrap
339 msgid "B<%g>"
340 msgstr ""
341
342 #. type: Plain text
343 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
344 #: opensuse-tumbleweed
345 msgid ""
346 "Like B<%G>, but without century, that is, with a 2-digit year (00\\[en]99). "
347 "(TZ) (Calculated from I<tm_year>, I<tm_yday>, and I<tm_wday>.)"
348 msgstr ""
349
350 #. type: TP
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 #, no-wrap
354 msgid "B<%h>"
355 msgstr ""
356
357 #. type: Plain text
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 msgid "Equivalent to B<%b>. (SU)"
361 msgstr ""
362
363 #. type: TP
364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
366 #, no-wrap
367 msgid "B<%H>"
368 msgstr ""
369
370 #. type: Plain text
371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
373 msgid ""
374 "The hour as a decimal number using a 24-hour clock (range 00 to 23). "
375 "(Calculated from I<tm_hour>.)"
376 msgstr ""
377
378 #. type: TP
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 #, no-wrap
382 msgid "B<%I>"
383 msgstr ""
384
385 #. type: Plain text
386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
388 msgid ""
389 "The hour as a decimal number using a 12-hour clock (range 01 to 12). "
390 "(Calculated from I<tm_hour>.)"
391 msgstr ""
392
393 #. type: TP
394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
396 #, no-wrap
397 msgid "B<%j>"
398 msgstr ""
399
400 #. type: Plain text
401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
403 msgid ""
404 "The day of the year as a decimal number (range 001 to 366). (Calculated "
405 "from I<tm_yday>.)"
406 msgstr ""
407
408 #. type: TP
409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
411 #, no-wrap
412 msgid "B<%k>"
413 msgstr ""
414
415 #. type: Plain text
416 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
417 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
418 msgid ""
419 "The hour (24-hour clock) as a decimal number (range 0 to 23); single digits "
420 "are preceded by a blank. (See also B<%H>.) (Calculated from I<tm_hour>.) "
421 "(TZ)"
422 msgstr ""
423
424 #. type: TP
425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
426 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
427 #, no-wrap
428 msgid "B<%l>"
429 msgstr ""
430
431 #. type: Plain text
432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
434 msgid ""
435 "The hour (12-hour clock) as a decimal number (range 1 to 12); single digits "
436 "are preceded by a blank. (See also B<%I>.) (Calculated from I<tm_hour>.) "
437 "(TZ)"
438 msgstr ""
439
440 #. type: TP
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 #, no-wrap
444 msgid "B<%m>"
445 msgstr ""
446
447 #. type: Plain text
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 msgid ""
451 "The month as a decimal number (range 01 to 12). (Calculated from I<tm_mon>.)"
452 msgstr ""
453
454 #. type: TP
455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
457 #, no-wrap
458 msgid "B<%M>"
459 msgstr ""
460
461 #. type: Plain text
462 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
463 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
464 msgid ""
465 "The minute as a decimal number (range 00 to 59). (Calculated from "
466 "I<tm_min>.)"
467 msgstr ""
468
469 #. type: TP
470 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
471 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
472 #, no-wrap
473 msgid "B<%n>"
474 msgstr ""
475
476 #. type: Plain text
477 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
478 #: opensuse-tumbleweed
479 msgid "A newline character. (SU)"
480 msgstr ""
481
482 #. type: TP
483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
485 #, no-wrap
486 msgid "B<%O>"
487 msgstr ""
488
489 #. type: Plain text
490 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
491 #: opensuse-tumbleweed
492 msgid "Modifier: use alternative numeric symbols; see below. (SU)"
493 msgstr ""
494
495 #. type: TP
496 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
497 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
498 #, no-wrap
499 msgid "B<%p>"
500 msgstr ""
501
502 #. type: Plain text
503 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
504 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
505 msgid ""
506 "Either \"AM\" or \"PM\" according to the given time value, or the "
507 "corresponding strings for the current locale. Noon is treated as \"PM\" and "
508 "midnight as \"AM\". (Calculated from I<tm_hour>.) (The specific string "
509 "representations used for \"AM\" and \"PM\" in the current locale can be "
510 "obtained by calling B<nl_langinfo>(3) with B<AM_STR> and B<PM_STR>, "
511 "respectively.)"
512 msgstr ""
513
514 #. type: TP
515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
517 #, no-wrap
518 msgid "B<%P>"
519 msgstr ""
520
521 #. type: Plain text
522 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
523 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
524 msgid ""
525 "Like B<%p> but in lowercase: \"am\" or \"pm\" or a corresponding string for "
526 "the current locale. (Calculated from I<tm_hour>.) (GNU)"
527 msgstr ""
528
529 #. type: TP
530 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
531 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
532 #, no-wrap
533 msgid "B<%r>"
534 msgstr ""
535
536 #. type: Plain text
537 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
538 #: opensuse-tumbleweed
539 msgid ""
540 "The time in a.m.\\& or p.m.\\& notation. (SU) (The specific format used in "
541 "the current locale can be obtained by calling B<nl_langinfo>(3) with "
542 "B<T_FMT_AMPM> as an argument.) (In the POSIX locale this is equivalent to "
543 "B<%I:%M:%S %p>.)"
544 msgstr ""
545
546 #. type: TP
547 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
548 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
549 #, no-wrap
550 msgid "B<%R>"
551 msgstr ""
552
553 #. type: Plain text
554 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
555 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
556 msgid ""
557 "The time in 24-hour notation (B<%H:%M>). (SU) For a version including the "
558 "seconds, see B<%T> below."
559 msgstr ""
560
561 #. type: TP
562 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
563 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
564 #, no-wrap
565 msgid "B<%s>"
566 msgstr ""
567
568 #. type: Plain text
569 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
570 #: opensuse-tumbleweed
571 msgid ""
572 "The number of seconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC). "
573 "(TZ) (Calculated from I<mktime(tm)>.)"
574 msgstr ""
575
576 #. type: TP
577 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
578 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
579 #, no-wrap
580 msgid "B<%S>"
581 msgstr ""
582
583 #. type: Plain text
584 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
585 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
586 msgid ""
587 "The second as a decimal number (range 00 to 60). (The range is up to 60 to "
588 "allow for occasional leap seconds.) (Calculated from I<tm_sec>.)"
589 msgstr ""
590
591 #. type: TP
592 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
593 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
594 #, no-wrap
595 msgid "B<%t>"
596 msgstr ""
597
598 #. type: Plain text
599 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
600 #: opensuse-tumbleweed
601 msgid "A tab character. (SU)"
602 msgstr ""
603
604 #. type: TP
605 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
606 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
607 #, no-wrap
608 msgid "B<%T>"
609 msgstr ""
610
611 #. type: Plain text
612 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
613 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
614 msgid "The time in 24-hour notation (B<%H:%M:%S>). (SU)"
615 msgstr ""
616
617 #. type: TP
618 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
619 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
620 #, no-wrap
621 msgid "B<%u>"
622 msgstr ""
623
624 #. type: Plain text
625 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
626 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
627 msgid ""
628 "The day of the week as a decimal, range 1 to 7, Monday being 1. See also "
629 "B<%w>. (Calculated from I<tm_wday>.) (SU)"
630 msgstr ""
631
632 #. type: TP
633 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
634 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
635 #, no-wrap
636 msgid "B<%U>"
637 msgstr ""
638
639 #. type: Plain text
640 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
641 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
642 msgid ""
643 "The week number of the current year as a decimal number, range 00 to 53, "
644 "starting with the first Sunday as the first day of week 01. See also B<%V> "
645 "and B<%W>. (Calculated from I<tm_yday> and I<tm_wday>.)"
646 msgstr ""
647
648 #. type: TP
649 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
650 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
651 #, no-wrap
652 msgid "B<%V>"
653 msgstr ""
654
655 #. type: Plain text
656 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
657 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
658 msgid ""
659 "The ISO\\ 8601 week number (see NOTES) of the current year as a decimal "
660 "number, range 01 to 53, where week 1 is the first week that has at least 4 "
661 "days in the new year. See also B<%U> and B<%W>. (Calculated from "
662 "I<tm_year>, I<tm_yday>, and I<tm_wday>.) (SU)"
663 msgstr ""
664
665 #. type: TP
666 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
667 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
668 #, no-wrap
669 msgid "B<%w>"
670 msgstr ""
671
672 #. type: Plain text
673 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
674 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
675 msgid ""
676 "The day of the week as a decimal, range 0 to 6, Sunday being 0. See also "
677 "B<%u>. (Calculated from I<tm_wday>.)"
678 msgstr ""
679
680 #. type: TP
681 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
682 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
683 #, no-wrap
684 msgid "B<%W>"
685 msgstr ""
686
687 #. type: Plain text
688 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
689 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
690 msgid ""
691 "The week number of the current year as a decimal number, range 00 to 53, "
692 "starting with the first Monday as the first day of week 01. (Calculated "
693 "from I<tm_yday> and I<tm_wday>.)"
694 msgstr ""
695
696 #. type: TP
697 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
698 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
699 #, no-wrap
700 msgid "B<%x>"
701 msgstr ""
702
703 #. type: Plain text
704 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
705 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
706 msgid ""
707 "The preferred date representation for the current locale without the time. "
708 "(The specific format used in the current locale can be obtained by calling "
709 "B<nl_langinfo>(3) with B<D_FMT> as an argument for the B<%x> conversion "
710 "specification, and with B<ERA_D_FMT> for the B<%Ex> conversion "
711 "specification.) (In the POSIX locale this is equivalent to B<%m/%d/%y>.)"
712 msgstr ""
713
714 #. type: TP
715 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
716 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
717 #, no-wrap
718 msgid "B<%X>"
719 msgstr ""
720
721 #. type: Plain text
722 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
723 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
724 msgid ""
725 "The preferred time representation for the current locale without the date. "
726 "(The specific format used in the current locale can be obtained by calling "
727 "B<nl_langinfo>(3) with B<T_FMT> as an argument for the B<%X> conversion "
728 "specification, and with B<ERA_T_FMT> for the B<%EX> conversion "
729 "specification.) (In the POSIX locale this is equivalent to B<%H:%M:%S>.)"
730 msgstr ""
731
732 #. type: TP
733 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
734 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
735 #, no-wrap
736 msgid "B<%y>"
737 msgstr ""
738
739 #. type: Plain text
740 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
741 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
742 msgid ""
743 "The year as a decimal number without a century (range 00 to 99). (The "
744 "B<%Ey> conversion specification corresponds to the year since the beginning "
745 "of the era denoted by the B<%EC> conversion specification.) (Calculated "
746 "from I<tm_year>)"
747 msgstr ""
748
749 #. type: TP
750 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
751 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
752 #, no-wrap
753 msgid "B<%Y>"
754 msgstr ""
755
756 #. type: Plain text
757 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
758 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
759 msgid ""
760 "The year as a decimal number including the century. (The B<%EY> conversion "
761 "specification corresponds to the full alternative year representation.) "
762 "(Calculated from I<tm_year>)"
763 msgstr ""
764
765 #. type: TP
766 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
767 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
768 #, no-wrap
769 msgid "B<%z>"
770 msgstr ""
771
772 #. type: Plain text
773 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
774 #: opensuse-tumbleweed
775 msgid ""
776 "The I<+hhmm> or I<-hhmm> numeric timezone (that is, the hour and minute "
777 "offset from UTC). (SU)"
778 msgstr ""
779
780 #. type: TP
781 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
782 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
783 #, no-wrap
784 msgid "B<%Z>"
785 msgstr ""
786
787 #. type: Plain text
788 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
789 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
790 msgid "The timezone name or abbreviation."
791 msgstr ""
792
793 #. type: TP
794 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
795 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
796 #, no-wrap
797 msgid "B<%+>"
798 msgstr ""
799
800 #. Nov 05 -- Not in Linux/glibc, but is in some BSDs (according to
801 #. their man pages)
802 #. type: Plain text
803 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
804 #: opensuse-tumbleweed
805 msgid ""
806 "The date and time in B<date>(1) format. (TZ) (Not supported in glibc2.)"
807 msgstr ""
808
809 #. type: TP
810 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
811 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
812 #, no-wrap
813 msgid "B<%%>"
814 msgstr ""
815
816 #. type: Plain text
817 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
818 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
819 msgid "A literal \\[aq]%\\[aq] character."
820 msgstr ""
821
822 #. type: Plain text
823 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
824 #: opensuse-tumbleweed
825 msgid ""
826 "Some conversion specifications can be modified by preceding the conversion "
827 "specifier character by the B<E> or B<O> I<modifier> to indicate that an "
828 "alternative format should be used. If the alternative format or "
829 "specification does not exist for the current locale, the behavior will be as "
830 "if the unmodified conversion specification were used. (SU) The Single UNIX "
831 "Specification mentions B<%Ec>, B<%EC>, B<%Ex>, B<%EX>, B<%Ey>, B<%EY>, "
832 "B<%Od>, B<%Oe>, B<%OH>, B<%OI>, B<%Om>, B<%OM>, B<%OS>, B<%Ou>, B<%OU>, "
833 "B<%OV>, B<%Ow>, B<%OW>, B<%Oy>, where the effect of the B<O> modifier is to "
834 "use alternative numeric symbols (say, roman numerals), and that of the B<E> "
835 "modifier is to use a locale-dependent alternative representation. The rules "
836 "governing date representation with the B<E> modifier can be obtained by "
837 "supplying B<ERA> as an argument to a B<nl_langinfo>(3). One example of such "
838 "alternative forms is the Japanese era calendar scheme in the B<ja_JP> glibc "
839 "locale."
840 msgstr ""
841
842 #. type: Plain text
843 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
844 #: opensuse-tumbleweed
845 msgid ""
846 "B<strftime_l>() is equivalent to B<strftime>(), except it uses the "
847 "specified I<locale> instead of the current locale. The behavior is "
848 "undefined if I<locale> is invalid or B<LC_GLOBAL_LOCALE>."
849 msgstr ""
850
851 #. type: SH
852 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
853 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
854 #, no-wrap
855 msgid "RETURN VALUE"
856 msgstr ""
857
858 #. (This behavior applies since at least libc 4.4.4;
859 #. very old versions of libc, such as libc 4.4.1,
860 #. would return
861 #. .I max
862 #. if the array was too small.)
863 #. type: Plain text
864 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
865 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
866 msgid ""
867 "Provided that the result string, including the terminating null byte, does "
868 "not exceed I<max> bytes, B<strftime>() returns the number of bytes "
869 "(excluding the terminating null byte) placed in the array I<s>. If the "
870 "length of the result string (including the terminating null byte) would "
871 "exceed I<max> bytes, then B<strftime>() returns 0, and the contents of the "
872 "array are undefined."
873 msgstr ""
874
875 #. type: Plain text
876 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
877 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
878 msgid ""
879 "Note that the return value 0 does not necessarily indicate an error. For "
880 "example, in many locales B<%p> yields an empty string. An empty I<format> "
881 "string will likewise yield an empty string."
882 msgstr ""
883
884 #. type: SH
885 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
886 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
887 #, no-wrap
888 msgid "ENVIRONMENT"
889 msgstr ""
890
891 #. type: Plain text
892 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
893 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
894 msgid "The environment variables B<TZ> and B<LC_TIME> are used."
895 msgstr ""
896
897 #. type: SH
898 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
899 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
900 #, no-wrap
901 msgid "ATTRIBUTES"
902 msgstr ""
903
904 #. type: Plain text
905 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
906 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
907 msgid ""
908 "For an explanation of the terms used in this section, see B<attributes>(7)."
909 msgstr ""
910
911 #. type: tbl table
912 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
913 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
914 #, no-wrap
915 msgid "Interface"
916 msgstr ""
917
918 #. type: tbl table
919 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
920 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
921 #, no-wrap
922 msgid "Attribute"
923 msgstr ""
924
925 #. type: tbl table
926 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
927 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
928 #, no-wrap
929 msgid "Value"
930 msgstr ""
931
932 #. type: tbl table
933 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
934 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
935 #, no-wrap
936 msgid ".na\n"
937 msgstr ""
938
939 #. type: tbl table
940 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
941 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
942 #, no-wrap
943 msgid ".nh\n"
944 msgstr ""
945
946 #. type: tbl table
947 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
948 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
949 #, no-wrap
950 msgid ""
951 "B<strftime>(),\n"
952 "B<strftime_l>()"
953 msgstr ""
954
955 #. type: tbl table
956 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
957 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
958 #, no-wrap
959 msgid "Thread safety"
960 msgstr ""
961
962 #. type: tbl table
963 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
964 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
965 #, no-wrap
966 msgid "MT-Safe env locale"
967 msgstr ""
968
969 #. type: SH
970 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
971 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
972 #, no-wrap
973 msgid "STANDARDS"
974 msgstr ""
975
976 #. type: TP
977 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
978 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
979 #, no-wrap
980 msgid "B<strftime>()"
981 msgstr ""
982
983 #. type: Plain text
984 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
985 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
986 msgid "C11, POSIX.1-2008."
987 msgstr ""
988
989 #. type: TP
990 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
991 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
992 #, no-wrap
993 msgid "B<strftime_l>()"
994 msgstr ""
995
996 #. type: Plain text
997 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
998 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
999 msgid "POSIX.1-2008."
1000 msgstr ""
1001
1002 #. type: SH
1003 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1004 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1005 #, no-wrap
1006 msgid "HISTORY"
1007 msgstr ""
1008
1009 #. #-#-#-#-# archlinux: strftime.3.pot (PACKAGE VERSION) #-#-#-#-#
1010 #. FIXME strftime() is in POSIX.1-2001 and POSIX.1-2008, but the details
1011 #. in the standards changed across versions. Investigate and
1012 #. write up.
1013 #. type: Plain text
1014 #. #-#-#-#-# debian-trixie: strftime.3.pot (PACKAGE VERSION) #-#-#-#-#
1015 #. FIXME strftime() is in POSIX.1-2001 and POSIX.1-2008, but the details
1016 #. in the standards changed across versions. Investigate and
1017 #. write up.
1018 #. type: Plain text
1019 #. #-#-#-#-# debian-unstable: strftime.3.pot (PACKAGE VERSION) #-#-#-#-#
1020 #. FIXME strftime() is in POSIX.1-2001 and POSIX.1-2008, but the details
1021 #. in the standards changed across versions. Investigate and
1022 #. write up.
1023 #. type: Plain text
1024 #. #-#-#-#-# fedora-44: strftime.3.pot (PACKAGE VERSION) #-#-#-#-#
1025 #. FIXME strftime() is in POSIX.1-2001 and POSIX.1-2008, but the details
1026 #. in the standards changed across versions. Investigate and
1027 #. write up.
1028 #. type: Plain text
1029 #. #-#-#-#-# fedora-rawhide: strftime.3.pot (PACKAGE VERSION) #-#-#-#-#
1030 #. FIXME strftime() is in POSIX.1-2001 and POSIX.1-2008, but the details
1031 #. in the standards changed across versions. Investigate and
1032 #. write up.
1033 #. type: Plain text
1034 #. #-#-#-#-# mageia-cauldron: strftime.3.pot (PACKAGE VERSION) #-#-#-#-#
1035 #. FIXME strftime() is in POSIX.1-2001 and POSIX.1-2008, but the details
1036 #. in the standards changed across versions. Investigate and
1037 #. write up.
1038 #. type: Plain text
1039 #. #-#-#-#-# opensuse-leap-16-1: strftime.3.pot (PACKAGE VERSION) #-#-#-#-#
1040 #. FIXME strftime() is in POSIX.1-2001 and POSIX.1-2008, but the details
1041 #. in the standards changed across versions. Investigate and
1042 #. write up.
1043 #. type: Plain text
1044 #. #-#-#-#-# opensuse-tumbleweed: strftime.3.pot (PACKAGE VERSION) #-#-#-#-#
1045 #. FIXME strftime() is in POSIX.1-2001 and POSIX.1-2008, but the details
1046 #. in the standards changed across versions. Investigate and
1047 #. write up.
1048 #. type: Plain text
1049 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1050 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1051 msgid "SVr4, C89."
1052 msgstr ""
1053
1054 #. type: Plain text
1055 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1056 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1057 msgid ""
1058 "There are strict inclusions between the set of conversions given in ANSI C "
1059 "(unmarked), those given in the Single UNIX Specification (marked SU), those "
1060 "given in Olson's timezone package (marked TZ), and those given in glibc "
1061 "(marked GNU), except that B<%+> is not supported in glibc2. On the other "
1062 "hand glibc2 has several more extensions. POSIX.1 only refers to ANSI C; "
1063 "POSIX.2 describes under B<date>(1) several extensions that could apply to "
1064 "B<strftime>() as well. The B<%F> conversion is in C99 and POSIX.1-2001."
1065 msgstr ""
1066
1067 #. type: Plain text
1068 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1069 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1070 msgid ""
1071 "In SUSv2, the B<%S> specifier allowed a range of 00 to 61, to allow for the "
1072 "theoretical possibility of a minute that included a double leap second "
1073 "(there never has been such a minute)."
1074 msgstr ""
1075
1076 #. type: SH
1077 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1078 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1079 #, no-wrap
1080 msgid "NOTES"
1081 msgstr ""
1082
1083 #. type: SS
1084 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1085 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1086 #, no-wrap
1087 msgid "ISO\\ 8601 week dates"
1088 msgstr ""
1089
1090 #. type: Plain text
1091 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1092 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1093 msgid ""
1094 "B<%G>, B<%g>, and B<%V> yield values calculated from the week-based year "
1095 "defined by the ISO\\ 8601 standard. In this system, weeks start on a "
1096 "Monday, and are numbered from 01, for the first week, up to 52 or 53, for "
1097 "the last week. Week 1 is the first week where four or more days fall within "
1098 "the new year (or, synonymously, week 01 is: the first week of the year that "
1099 "contains a Thursday; or, the week that has 4 January in it). When three or "
1100 "fewer days of the first calendar week of the new year fall within that year, "
1101 "then the ISO\\ 8601 week-based system counts those days as part of week 52 "
1102 "or 53 of the preceding year. For example, 1 January 2010 is a Friday, "
1103 "meaning that just three days of that calendar week fall in 2010. Thus, the "
1104 "ISO\\ 8601 week-based system considers these days to be part of week 53 "
1105 "(B<%V>) of the year 2009 (B<%G>); week 01 of ISO\\ 8601 year 2010 starts on "
1106 "Monday, 4 January 2010. Similarly, the first two days of January 2011 are "
1107 "considered to be part of week 52 of the year 2010."
1108 msgstr ""
1109
1110 #. type: SS
1111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1113 #, no-wrap
1114 msgid "glibc notes"
1115 msgstr ""
1116
1117 #. HP-UX and Tru64 also have features like this.
1118 #. type: Plain text
1119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1121 msgid ""
1122 "glibc provides some extensions for conversion specifications. (These "
1123 "extensions are not specified in POSIX.1-2001, but a few other systems "
1124 "provide similar features.) Between the \\[aq]%\\[aq] character and the "
1125 "conversion specifier character, an optional I<flag> and field I<width> may "
1126 "be specified. (These precede the B<E> or B<O> modifiers, if present.)"
1127 msgstr ""
1128
1129 #. type: Plain text
1130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1132 msgid "The following flag characters are permitted:"
1133 msgstr ""
1134
1135 #. type: TP
1136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1138 #, no-wrap
1139 msgid "B<_>"
1140 msgstr ""
1141
1142 #. type: Plain text
1143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1145 msgid "(underscore) Pad a numeric result string with spaces."
1146 msgstr ""
1147
1148 #. type: TP
1149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1151 #, no-wrap
1152 msgid "B<->"
1153 msgstr ""
1154
1155 #. type: Plain text
1156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1158 msgid "(dash) Do not pad a numeric result string."
1159 msgstr ""
1160
1161 #. type: TP
1162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1164 #, no-wrap
1165 msgid "B<0>"
1166 msgstr ""
1167
1168 #. type: Plain text
1169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1171 msgid ""
1172 "Pad a numeric result string with zeros even if the conversion specifier "
1173 "character uses space-padding by default."
1174 msgstr ""
1175
1176 #. type: TP
1177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1179 #, no-wrap
1180 msgid "B<\\[ha]>"
1181 msgstr ""
1182
1183 #. type: Plain text
1184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1186 msgid "Convert alphabetic characters in result string to uppercase."
1187 msgstr ""
1188
1189 #. type: TP
1190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1192 #, no-wrap
1193 msgid "B<#>"
1194 msgstr ""
1195
1196 #. type: Plain text
1197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1199 msgid ""
1200 "Swap the case of the result string. (This flag works only with certain "
1201 "conversion specifier characters, and of these, it is only really useful with "
1202 "B<%Z>.)"
1203 msgstr ""
1204
1205 #. type: Plain text
1206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1208 msgid ""
1209 "An optional decimal width specifier may follow the (possibly absent) flag. "
1210 "If the natural size of the field is smaller than this width, then the result "
1211 "string is padded (on the left) to the specified width."
1212 msgstr ""
1213
1214 #. type: SH
1215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1217 #, no-wrap
1218 msgid "BUGS"
1219 msgstr ""
1220
1221 #. type: Plain text
1222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1224 msgid ""
1225 "If the output string would exceed I<max> bytes, I<errno> is I<not> set. "
1226 "This makes it impossible to distinguish this error case from cases where the "
1227 "I<format> string legitimately produces a zero-length output string. "
1228 "POSIX.1-2001 does I<not> specify any I<errno> settings for B<strftime>()."
1229 msgstr ""
1230
1231 #. type: Plain text
1232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1234 msgid ""
1235 "Some buggy versions of B<gcc>(1) complain about the use of B<%c>: "
1236 "I<warning: \\`%c\\[aq] yields only last 2 digits of year in some locales>. "
1237 "Of course programmers are encouraged to use B<%c>, as it gives the preferred "
1238 "date and time representation. One meets all kinds of strange obfuscations "
1239 "to circumvent this B<gcc>(1) problem. A relatively clean one is to add an "
1240 "intermediate function"
1241 msgstr ""
1242
1243 #. type: Plain text
1244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1246 #, no-wrap
1247 msgid ""
1248 "size_t\n"
1249 "my_strftime(char *s, size_t max, const char *fmt,\n"
1250 " const struct tm *tm)\n"
1251 "{\n"
1252 " return strftime(s, max, fmt, tm);\n"
1253 "}\n"
1254 msgstr ""
1255
1256 #. type: Plain text
1257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1259 msgid ""
1260 "Nowadays, B<gcc>(1) provides the I<-Wno-format-y2k> option to prevent the "
1261 "warning, so that the above workaround is no longer required."
1262 msgstr ""
1263
1264 #. type: SH
1265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1267 #, no-wrap
1268 msgid "EXAMPLES"
1269 msgstr ""
1270
1271 #. type: Plain text
1272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1274 msgid ""
1275 "B<RFC\\ 2822-compliant date format> (with an English locale for %a and %b)"
1276 msgstr ""
1277
1278 #. type: Plain text
1279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1281 #, no-wrap
1282 msgid "\"%a,\\ %d\\ %b\\ %Y\\ %T\\ %z\"\n"
1283 msgstr ""
1284
1285 #. type: Plain text
1286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1288 msgid ""
1289 "B<RFC\\ 822-compliant date format> (with an English locale for %a and %b)"
1290 msgstr ""
1291
1292 #. type: Plain text
1293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1295 #, no-wrap
1296 msgid "\"%a,\\ %d\\ %b\\ %y\\ %T\\ %z\"\n"
1297 msgstr ""
1298
1299 #. type: SS
1300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1302 #, no-wrap
1303 msgid "Example program"
1304 msgstr ""
1305
1306 #. type: Plain text
1307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1309 msgid "The program below can be used to experiment with B<strftime>()."
1310 msgstr ""
1311
1312 #. type: Plain text
1313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1315 msgid ""
1316 "Some examples of the result string produced by the glibc implementation of "
1317 "B<strftime>() are as follows:"
1318 msgstr ""
1319
1320 #. type: Plain text
1321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1323 #, no-wrap
1324 msgid ""
1325 "$B< ./a.out \\[aq]%m\\[aq]>\n"
1326 "Result string is \"11\"\n"
1327 "$B< ./a.out \\[aq]%5m\\[aq]>\n"
1328 "Result string is \"00011\"\n"
1329 "$B< ./a.out \\[aq]%_5m\\[aq]>\n"
1330 "Result string is \" 11\"\n"
1331 msgstr ""
1332
1333 #. type: SS
1334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1336 #, no-wrap
1337 msgid "Program source"
1338 msgstr ""
1339
1340 #. type: Plain text
1341 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1342 #: opensuse-tumbleweed
1343 #, no-wrap
1344 msgid ""
1345 "#include E<lt>stdio.hE<gt>\n"
1346 "#include E<lt>stdlib.hE<gt>\n"
1347 "#include E<lt>time.hE<gt>\n"
1348 "\\&\n"
1349 "int\n"
1350 "main(int argc, char *argv[])\n"
1351 "{\n"
1352 " char outstr[200];\n"
1353 " time_t t;\n"
1354 " struct tm *tmp;\n"
1355 "\\&\n"
1356 " if (argc != 2) {\n"
1357 " fprintf(stderr, \"Usage: %s: E<lt>format-stringE<gt>\\[rs]n\", argv[0]);\n"
1358 " exit(EXIT_FAILURE);\n"
1359 " }\n"
1360 "\\&\n"
1361 " t = time(NULL);\n"
1362 " tmp = localtime(&t);\n"
1363 " if (tmp == NULL) {\n"
1364 " perror(\"localtime\");\n"
1365 " exit(EXIT_FAILURE);\n"
1366 " }\n"
1367 "\\&\n"
1368 " if (strftime(outstr, sizeof(outstr), argv[1], tmp) == 0) {\n"
1369 " fprintf(stderr, \"strftime returned 0\");\n"
1370 " exit(EXIT_FAILURE);\n"
1371 " }\n"
1372 "\\&\n"
1373 " printf(\"Result string is \\[rs]\"%s\\[rs]\"\\[rs]n\", outstr);\n"
1374 " exit(EXIT_SUCCESS);\n"
1375 "}\n"
1376 msgstr ""
1377
1378 #. SRC END
1379 #. type: SH
1380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1382 #, no-wrap
1383 msgid "SEE ALSO"
1384 msgstr ""
1385
1386 #. type: Plain text
1387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1389 msgid ""
1390 "B<date>(1), B<time>(2), B<ctime>(3), B<nl_langinfo>(3), B<setlocale>(3), "
1391 "B<sprintf>(3), B<strptime>(3)"
1392 msgstr ""
1393
1394 #. type: TH
1395 #: debian-trixie
1396 #, no-wrap
1397 msgid "2024-06-15"
1398 msgstr ""
1399
1400 #. type: TH
1401 #: debian-trixie
1402 #, no-wrap
1403 msgid "Linux man-pages 6.9.1"
1404 msgstr ""
1405
1406 #. type: Plain text
1407 #: debian-trixie
1408 msgid "Standard C library (I<libc>, I<-lc>)"
1409 msgstr ""
1410
1411 #. type: Plain text
1412 #: debian-trixie fedora-44 fedora-rawhide
1413 #, no-wrap
1414 msgid ""
1415 "B<size_t strftime(char >I<s>B<[restrict .>I<max>B<], size_t >I<max>B<,>\n"
1416 "B< const char *restrict >I<format>B<,>\n"
1417 "B< const struct tm *restrict >I<tm>B<);>\n"
1418 msgstr ""
1419
1420 #. type: Plain text
1421 #: debian-trixie fedora-44 fedora-rawhide
1422 #, no-wrap
1423 msgid ""
1424 "B<size_t strftime_l(char >I<s>B<[restrict .>I<max>B<], size_t >I<max>B<,>\n"
1425 "B< const char *restrict >I<format>B<,>\n"
1426 "B< const struct tm *restrict >I<tm>B<,>\n"
1427 "B< locale_t >I<locale>B<);>\n"
1428 msgstr ""
1429
1430 #. type: Plain text
1431 #: debian-trixie fedora-44 fedora-rawhide
1432 msgid ""
1433 "The century number (year/100) as a 2-digit integer. (SU) (The B<%EC> "
1434 "conversion specification corresponds to the name of the era.) (Calculated "
1435 "from I<tm_year>.)"
1436 msgstr ""
1437
1438 #. type: Plain text
1439 #: debian-trixie fedora-44 fedora-rawhide
1440 msgid ""
1441 "Equivalent to B<%m/%d/%y>. (Yecch\\[em]for Americans only. Americans "
1442 "should note that in other countries B<%d/%m/%y> is rather common. This "
1443 "means that in international context this format is ambiguous and should not "
1444 "be used.) (SU)"
1445 msgstr ""
1446
1447 #. type: Plain text
1448 #: debian-trixie fedora-44 fedora-rawhide
1449 msgid ""
1450 "Like B<%d>, the day of the month as a decimal number, but a leading zero is "
1451 "replaced by a space. (SU) (Calculated from I<tm_mday>.)"
1452 msgstr ""
1453
1454 #. type: Plain text
1455 #: debian-trixie fedora-44 fedora-rawhide
1456 msgid "Modifier: use alternative (\"era-based\") format, see below. (SU)"
1457 msgstr ""
1458
1459 #. type: Plain text
1460 #: debian-trixie fedora-44 fedora-rawhide
1461 msgid "Equivalent to B<%Y-%m-%d> (the ISO\\ 8601 date format). (C99)"
1462 msgstr ""
1463
1464 #. type: Plain text
1465 #: debian-trixie fedora-44 fedora-rawhide
1466 msgid ""
1467 "The ISO\\ 8601 week-based year (see NOTES) with century as a decimal "
1468 "number. The 4-digit year corresponding to the ISO week number (see B<%V>). "
1469 "This has the same format and value as B<%Y>, except that if the ISO week "
1470 "number belongs to the previous or next year, that year is used instead. "
1471 "(TZ) (Calculated from I<tm_year>, I<tm_yday>, and I<tm_wday>.)"
1472 msgstr ""
1473
1474 #. type: Plain text
1475 #: debian-trixie fedora-44 fedora-rawhide
1476 msgid ""
1477 "Like B<%G>, but without century, that is, with a 2-digit year (00\\[en]99). "
1478 "(TZ) (Calculated from I<tm_year>, I<tm_yday>, and I<tm_wday>.)"
1479 msgstr ""
1480
1481 #. type: Plain text
1482 #: debian-trixie fedora-44 fedora-rawhide
1483 msgid "A newline character. (SU)"
1484 msgstr ""
1485
1486 #. type: Plain text
1487 #: debian-trixie fedora-44 fedora-rawhide
1488 msgid "Modifier: use alternative numeric symbols, see below. (SU)"
1489 msgstr ""
1490
1491 #. type: Plain text
1492 #: debian-trixie fedora-44 fedora-rawhide
1493 msgid ""
1494 "The time in a.m. or p.m. notation. (SU) (The specific format used in the "
1495 "current locale can be obtained by calling B<nl_langinfo>(3) with "
1496 "B<T_FMT_AMPM> as an argument.) (In the POSIX locale this is equivalent to "
1497 "B<%I:%M:%S %p>.)"
1498 msgstr ""
1499
1500 #. type: Plain text
1501 #: debian-trixie fedora-44 fedora-rawhide
1502 msgid ""
1503 "The number of seconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC). "
1504 "(TZ) (Calculated from I<mktime(tm)>.)"
1505 msgstr ""
1506
1507 #. type: Plain text
1508 #: debian-trixie fedora-44 fedora-rawhide
1509 msgid "A tab character. (SU)"
1510 msgstr ""
1511
1512 #. type: Plain text
1513 #: debian-trixie fedora-44 fedora-rawhide
1514 msgid ""
1515 "The I<+hhmm> or I<-hhmm> numeric timezone (that is, the hour and minute "
1516 "offset from UTC). (SU)"
1517 msgstr ""
1518
1519 #. Nov 05 -- Not in Linux/glibc, but is in some BSDs (according to
1520 #. their man pages)
1521 #. type: Plain text
1522 #: debian-trixie fedora-44 fedora-rawhide
1523 msgid ""
1524 "The date and time in B<date>(1) format. (TZ) (Not supported in glibc2.)"
1525 msgstr ""
1526
1527 #. type: Plain text
1528 #: debian-trixie fedora-44 fedora-rawhide
1529 msgid ""
1530 "Some conversion specifications can be modified by preceding the conversion "
1531 "specifier character by the B<E> or B<O> I<modifier> to indicate that an "
1532 "alternative format should be used. If the alternative format or "
1533 "specification does not exist for the current locale, the behavior will be as "
1534 "if the unmodified conversion specification were used. (SU) The Single UNIX "
1535 "Specification mentions B<%Ec>, B<%EC>, B<%Ex>, B<%EX>, B<%Ey>, B<%EY>, "
1536 "B<%Od>, B<%Oe>, B<%OH>, B<%OI>, B<%Om>, B<%OM>, B<%OS>, B<%Ou>, B<%OU>, "
1537 "B<%OV>, B<%Ow>, B<%OW>, B<%Oy>, where the effect of the B<O> modifier is to "
1538 "use alternative numeric symbols (say, roman numerals), and that of the B<E> "
1539 "modifier is to use a locale-dependent alternative representation. The rules "
1540 "governing date representation with the B<E> modifier can be obtained by "
1541 "supplying B<ERA> as an argument to a B<nl_langinfo>(3). One example of such "
1542 "alternative forms is the Japanese era calendar scheme in the B<ja_JP> glibc "
1543 "locale."
1544 msgstr ""
1545
1546 #. type: Plain text
1547 #: debian-trixie fedora-44 fedora-rawhide
1548 msgid ""
1549 "B<strftime_l>() is equivalent to B<strftime>(), except it uses the "
1550 "specified I<locale> instead of the current locale. The behaviour is "
1551 "undefined if I<locale> is invalid or B<LC_GLOBAL_LOCALE>."
1552 msgstr ""
1553
1554 #. type: Plain text
1555 #: debian-trixie fedora-44 fedora-rawhide
1556 #, no-wrap
1557 msgid ""
1558 "#include E<lt>stdio.hE<gt>\n"
1559 "#include E<lt>stdlib.hE<gt>\n"
1560 "#include E<lt>time.hE<gt>\n"
1561 "\\&\n"
1562 "int\n"
1563 "main(int argc, char *argv[])\n"
1564 "{\n"
1565 " char outstr[200];\n"
1566 " time_t t;\n"
1567 " struct tm *tmp;\n"
1568 "\\&\n"
1569 " t = time(NULL);\n"
1570 " tmp = localtime(&t);\n"
1571 " if (tmp == NULL) {\n"
1572 " perror(\"localtime\");\n"
1573 " exit(EXIT_FAILURE);\n"
1574 " }\n"
1575 "\\&\n"
1576 " if (strftime(outstr, sizeof(outstr), argv[1], tmp) == 0) {\n"
1577 " fprintf(stderr, \"strftime returned 0\");\n"
1578 " exit(EXIT_FAILURE);\n"
1579 " }\n"
1580 "\\&\n"
1581 " printf(\"Result string is \\[rs]\"%s\\[rs]\"\\[rs]n\", outstr);\n"
1582 " exit(EXIT_SUCCESS);\n"
1583 "}\n"
1584 msgstr ""
1585
1586 #. type: TH
1587 #: fedora-44 fedora-rawhide
1588 #, no-wrap
1589 msgid "2024-07-23"
1590 msgstr ""
1591
1592 #. type: TH
1593 #: fedora-44 fedora-rawhide
1594 #, no-wrap
1595 msgid "Linux man-pages 6.13"
1596 msgstr ""
1597
1598 #. type: TH
1599 #: mageia-cauldron
1600 #, no-wrap
1601 msgid "Linux man-pages 6.17"
1602 msgstr ""
1603
1604 #. type: TH
1605 #: opensuse-leap-16-1 opensuse-tumbleweed
1606 #, no-wrap
1607 msgid "Linux man-pages (unreleased)"
1608 msgstr ""