diff options
author | Greg Noel <GregNoel@tigris.org> | 2008-09-15 02:49:47 (GMT) |
---|---|---|
committer | Greg Noel <GregNoel@tigris.org> | 2008-09-15 02:49:47 (GMT) |
commit | 506225e8835622c2f5f1b77dc290fe59a72028a9 (patch) | |
tree | b786ad973cbd127dbbbca285b4d3217a1135fd0d /www/gen_sched_table.py | |
parent | bf408c351379156b6007d28f302ff730b1c39ba9 (diff) | |
download | SCons-506225e8835622c2f5f1b77dc290fe59a72028a9.zip SCons-506225e8835622c2f5f1b77dc290fe59a72028a9.tar.gz SCons-506225e8835622c2f5f1b77dc290fe59a72028a9.tar.bz2 |
Better layout for table elements
Diffstat (limited to 'www/gen_sched_table.py')
-rwxr-xr-x | www/gen_sched_table.py | 6 |
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': |