[Python-projects] [PATCH] strftime: %F is not supported on Windows
Steve Borho
steve at borho.org
Thu Jan 3 07:15:19 CET 2008
# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1199339635 21600
# Node ID d4bf7c72fad13360e7610cf7a4e5d926974bd982
# Parent 2554085afe8e436d17354178f68752e0cf47f1f5
strftime: %F is not supported on Windows
diff --git a/hgview/hgrepo.py b/hgview/hgrepo.py
--- a/hgview/hgrepo.py
+++ b/hgview/hgrepo.py
@@ -31,7 +31,7 @@ class RevNode(object):
short = property(get_short_log)
def get_date( self ):
- date_ = time.strftime( "%F %H:%M", self.gmtime )
+ date_ = time.strftime( "%Y-%m-%d %H:%M", self.gmtime )
return date_
date = property(get_date)
More information about the Python-Projects
mailing list