You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by rb...@apache.org on 2016/12/13 19:47:53 UTC

svn commit: r1774091 - /comdev/tools/meetups.py

Author: rbowen
Date: Tue Dec 13 19:47:53 2016
New Revision: 1774091

URL: http://svn.apache.org/viewvc?rev=1774091&view=rev
Log:
Correctly use strftime to get the date in the format I want it.

Modified:
    comdev/tools/meetups.py

Modified: comdev/tools/meetups.py
URL: http://svn.apache.org/viewvc/comdev/tools/meetups.py?rev=1774091&r1=1774090&r2=1774091&view=diff
==============================================================================
--- comdev/tools/meetups.py (original)
+++ comdev/tools/meetups.py Tue Dec 13 19:47:53 2016
@@ -133,10 +133,7 @@ up a brief summary of what was covered.
             continue
 
         eventtime = date.fromtimestamp( eventts/1000 )
-        t = eventtime.strftime("%c");
-
-        # Don't care about the time
-        t = re.sub( ' \d\d:\d\d:\d\d \d\d\d\d', '', t );
+        t = eventtime.strftime("%A %B %d")
 
         # Skip it if we've already seen it
         uniq = meetup['name'] + t