diff options
Diffstat (limited to 'conferences.py')
-rwxr-xr-x | conferences.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/conferences.py b/conferences.py index 067eb6e..8f22d23 100755 --- a/conferences.py +++ b/conferences.py | |||
@@ -56,8 +56,7 @@ class ConferenceDate(object): | |||
56 | def html_date(cls, d): | 56 | def html_date(cls, d): |
57 | if d.is_tbd(): | 57 | if d.is_tbd(): |
58 | return 'TBD' | 58 | return 'TBD' |
59 | # using string format to get '2' and not '02' | 59 | return d.dt.strftime('%m/%d/%y') |
60 | return d.dt.strftime('%b. {0}, %Y'.format(d.dt.day)) | ||
61 | 60 | ||
62 | def __eq__(self, other): | 61 | def __eq__(self, other): |
63 | a_is_tbd, b_is_tbd = self.is_tbd(), other.is_tbd() | 62 | a_is_tbd, b_is_tbd = self.is_tbd(), other.is_tbd() |