This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Minor rewording of the localtime() documentation,
authorAbe Timmerman <abe@ztreet.demon.nl>
Thu, 17 Jan 2008 18:05:07 +0000 (10:05 -0800)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Mon, 28 Jan 2008 16:41:49 +0000 (16:41 +0000)
based on :

Subject: [perl #49914] gmtime()/localtime() do not use time()
From: Abe Timmerman (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-18434-1200621906-376.49914-75-0@perl.org>

p4raw-id: //depot/perl@33095

pod/perlfunc.pod

index b273c17..7d9e237 100644 (file)
@@ -2750,7 +2750,8 @@ Wednesday.  C<$yday> is the day of the year, in the range C<0..364>
 C<$isdst> is true if the specified time occurs during Daylight Saving
 Time, false otherwise.
 
-If EXPR is omitted, C<localtime()> uses the current time (C<localtime(time)>).
+If EXPR is omitted, C<localtime()> uses the current time (as returned
+by the C<time()> built-in).
 
 In scalar context, C<localtime()> returns the ctime(3) value: