summaryrefslogtreecommitdiffstats
path: root/www/gen_sched_table.py
diff options
context:
space:
mode:
Diffstat (limited to 'www/gen_sched_table.py')
-rwxr-xr-xwww/gen_sched_table.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/gen_sched_table.py b/www/gen_sched_table.py
index 7cc4050..cf9df5a 100755
--- a/www/gen_sched_table.py
+++ b/www/gen_sched_table.py
@@ -3,8 +3,8 @@
import sys
import datetime
-months = ['January', 'February', 'March', 'April', 'May', 'June', 'July',
- 'August', 'September', 'October', 'November', 'December']
+months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
+ 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
print '<table>'
def row(*cells, **kw):
@@ -33,7 +33,7 @@ for line in f:
print 'dunna understand code', line[0]
sys.exit(1)
name = current + '.d' + str(now).replace('-','')
- date = '%s %s %s' % (now.day,months[now.month-1],now.year)
+ date = '%s-%s-%s' % (now.day,months[now.month-1],now.year)
if type == 'ck':
category = 'checkpoint'
elif type == 'rc':