From: Dominic Dunlop Date: Tue, 2 Feb 1999 15:55:29 +0000 (+0100) Subject: Document the standard strftime %formats. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=659b49385bc40faa816c2396d68094df873b2672;p=p5sagit%2Fp5-mst-13.2.git Document the standard strftime %formats. To: "Kurt D. Starsinic" , Ben Gertzfield Subject: [PATCH] 5.00[45]*: Re: POSIX's strftime() does not enforce POSIX %C on Solaris Message-Id: p4raw-id: //depot/cfgperl@2807 --- diff --git a/ext/POSIX/POSIX.pod b/ext/POSIX/POSIX.pod index 7b21810..6ad74b7 100644 --- a/ext/POSIX/POSIX.pod +++ b/ext/POSIX/POSIX.pod @@ -1019,7 +1019,11 @@ The month (C), weekday (C), and yearday (C) begin at zero. I.e. January is 0, not 1; Sunday is 0, not 1; January 1st is 0, not 1. The year (C) is given in years since 1900. I.e., the year 1995 is 95; the year 2001 is 101. Consult your system's C manpage for details -about these and the other arguments. The given arguments are made consistent +about these and the other arguments. +If you want your code to be portable, your format (C) argument +should use only the conversion specifiers defined by the ANSI C +standard. These are C. +The given arguments are made consistent by calling C before calling your system's C function. The string for Tuesday, December 12, 1995.