svn commit: samba-web r312 - in trunk/scripts: .
deryck at samba.org
deryck at samba.org
Fri Sep 3 23:15:48 GMT 2004
Author: deryck
Date: 2004-09-03 23:15:47 +0000 (Fri, 03 Sep 2004)
New Revision: 312
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba-web&path=/trunk/scripts&rev=312&nolog=1
Log:
Change date format for the sub directories as well.
Missed this in my last commit.
--deryck
Modified:
trunk/scripts/updateNews.py
Changeset:
Modified: trunk/scripts/updateNews.py
===================================================================
--- trunk/scripts/updateNews.py 2004-09-03 22:10:25 UTC (rev 311)
+++ trunk/scripts/updateNews.py 2004-09-03 23:15:47 UTC (rev 312)
@@ -100,7 +100,7 @@
if file in not_news: continue
f_lines = open(file, 'r').readlines()
f_stats = os.stat(file)
- f_date = time.strftime("%d %B %Y", time.localtime(f_stats[ST_MTIME]))
+ f_date = time.strftime("%B %d %Y", time.localtime(f_stats[ST_MTIME]))
# group stories from same date under that one date
if f_date in stories_by_date.keys():
stories_by_date[f_date].append("".join(f_lines))
More information about the samba-cvs
mailing list