diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-02-15 22:47:46 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-02-15 22:47:46 +0000 |
commit | 808a6a8a65988f190f9e2afe5de267a45f21d6aa (patch) | |
tree | cdb3e7b738f14d6f37c266cde39bc2b2521d0bd7 /lib/libc/time | |
parent | 53446becd58fc1c5c8c3c1a93226131e66297b67 (diff) |
use [,] range specs; kleink
Diffstat (limited to 'lib/libc/time')
-rw-r--r-- | lib/libc/time/strftime.3 | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/lib/libc/time/strftime.3 b/lib/libc/time/strftime.3 index 41e402c7db9..9cfc378d187 100644 --- a/lib/libc/time/strftime.3 +++ b/lib/libc/time/strftime.3 @@ -34,7 +34,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)strftime.3 5.12 (Berkeley) 6/29/91 -.\" $OpenBSD: strftime.3,v 1.2 1998/02/05 16:18:49 deraadt Exp $ +.\" $OpenBSD: strftime.3,v 1.3 1998/02/15 22:47:45 deraadt Exp $ .\" .Dd Jan 18, 1998 .Dt STRFTIME 3 @@ -89,37 +89,37 @@ is replaced by the locale's full month name. is replaced by the locale's abbreviated month name. .It Cm \&%C is replaced by the century (a year divided by 100 and truncated to an integer) -as a decimal number (00-99). +as a decimal number [00,99]. .It Cm \&%c is replaced by the locale's appropriate date and time representation. .It Cm \&%D is replaced by the date in the format .Dq Li %m/%d/%y . .It Cm \&%d -is replaced by the day of the month as a decimal number (01-31). +is replaced by the day of the month as a decimal number [01,31]. .It Cm \&%e -is replaced by the day of month as a decimal number (1-31); +is replaced by the day of month as a decimal number [1,31]; single digits are preceded by a blank. .It Cm \&%G is replaced by the ISO 8601 year with century as a decimal number. .It Cm \&%g -is replaced by the ISO 8601 year without century as a decimal number (00-99). +is replaced by the ISO 8601 year without century as a decimal number [00,99]. .It Cm \&%H -is replaced by the hour (24-hour clock) as a decimal number (00-23). +is replaced by the hour (24-hour clock) as a decimal number [00,23]. .It Cm \&%I -is replaced by the hour (12-hour clock) as a decimal number (01-12). +is replaced by the hour (12-hour clock) as a decimal number [01,12]. .It Cm \&%j -is replaced by the day of the year as a decimal number (001-366). +is replaced by the day of the year as a decimal number [001,366]. .It Cm \&%k -is replaced by the hour (24-hour clock) as a decimal number (0-23); +is replaced by the hour (24-hour clock) as a decimal number [0,23]; single digits are preceded by a blank. .It Cm \&%l -is replaced by the hour (12-hour clock) as a decimal number (1-12); +is replaced by the hour (12-hour clock) as a decimal number [1,12]; single digits are preceded by a blank. .It Cm \&%M -is replaced by the minute as a decimal number (00-59). +is replaced by the minute as a decimal number [00,59]. .It Cm %m -is replaced by the month as a decimal number (01-12). +is replaced by the month as a decimal number [01,12]. .It Cm %n is replaced by a newline. .It Cm %p @@ -134,7 +134,7 @@ is replaced by the time in the format is replaced by the locale's representation of 12-hour clock time using AM/PM notation. .It Cm \&%S -is replaced by the second as a decimal number (00-60). +is replaced by the second as a decimal number [00,61]. .It Cm %s is replaced by the number of seconds since the Epoch, UTC (see .Xr mktime 3 ) . @@ -145,21 +145,21 @@ is replaced by the time in the format is replaced by a tab. .It Cm \&%U is replaced by the week number of the year (Sunday as the first day of -the week) as a decimal number (00-53). +the week) as a decimal number [00,53]. .It Cm \&%u is replaced by the weekday (Monday as the first day of the week) -as a decimal number (1-7). +as a decimal number [1,7]. .It Cm \&%V is replaced by the week number of the year (Monday as the first day of -the week) as a decimal number (01-53). If the week containing January +the week) as a decimal number [01,53]. If the week containing January 1 has four or more days in the new year, then it is week 1; otherwise it is week 53 of the previous year, and the next week is week 1. .It Cm \&%W is replaced by the week number of the year (Monday as the first day of -the week) as a decimal number (00-53). +the week) as a decimal number [00,53]. .It Cm \&%w is replaced by the weekday (Sunday as the first day of the week) -as a decimal number (0-6). +as a decimal number [0,6]. .It Cm \&%X is replaced by the locale's appropriate time representation. .It Cm \&%x @@ -167,7 +167,7 @@ is replaced by the locale's appropriate date representation. .It Cm \&%Y is replaced by the year with century as a decimal number. .It Cm \&%y -is replaced by the year without century as a decimal number (00-99). +is replaced by the year without century as a decimal number [00,99]. .It Cm \&%Z is replaced by the time zone name. .It Cm %% |