changeset 28826:59dd920c0ddc

util: fix doc for datestr() timezone parameter was removed with c3182eeb70ea
author Adrian Buehlmann <adrian@cadifra.com>
date Fri, 08 Apr 2016 22:15:06 +0200
parents 87c6ad2251d8
children 1e184241de51
files mercurial/util.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/util.py	Fri Apr 08 14:11:03 2016 +0200
+++ b/mercurial/util.py	Fri Apr 08 22:15:06 2016 +0200
@@ -1582,8 +1582,7 @@
 def datestr(date=None, format='%a %b %d %H:%M:%S %Y %1%2'):
     """represent a (unixtime, offset) tuple as a localized time.
     unixtime is seconds since the epoch, and offset is the time zone's
-    number of seconds away from UTC. if timezone is false, do not
-    append time zone to string."""
+    number of seconds away from UTC."""
     t, tz = date or makedate()
     if "%1" in format or "%2" in format or "%z" in format:
         sign = (tz > 0) and "-" or "+"