changeset 71 | e909bde831e7 |
parent 63 | 416560b82116 |
child 72 | 5ade0288f2ec |
70:72edbbb414a7 | 71:e909bde831e7 |
---|---|
16 def tz_name (self, tz) : |
16 def tz_name (self, tz) : |
17 """ |
17 """ |
18 Returns a string describing the given timezone |
18 Returns a string describing the given timezone |
19 """ |
19 """ |
20 |
20 |
21 return str(tz) |
21 return self.now().strftime("%Z%z") |
22 |
22 |
23 def fmt_month (self, date) : |
23 def fmt_month (self, date) : |
24 """ |
24 """ |
25 Formats a month |
25 Formats a month |
26 """ |
26 """ |