diff options
Diffstat (limited to 'exchange/timezones.py')
-rw-r--r-- | exchange/timezones.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/exchange/timezones.py b/exchange/timezones.py new file mode 100644 index 0000000..88e84b5 --- /dev/null +++ b/exchange/timezones.py | |||
@@ -0,0 +1,23 @@ | |||
1 | # -*- coding: utf-8 -*- | ||
2 | """ | ||
3 | Timezone Definitions | ||
4 | |||
5 | @author: Mike Crute (mcrute@gmail.com) | ||
6 | @organization: SoftGroup Interactive, Inc. | ||
7 | @date: April 26, 2009 | ||
8 | @version: $Rev$ | ||
9 | |||
10 | $Id$ | ||
11 | """ | ||
12 | from datetime import tzinfo, timedelta | ||
13 | |||
14 | |||
15 | class EST(tzinfo): | ||
16 | |||
17 | def tzname(self, dt): | ||
18 | return "EST" | ||
19 | |||
20 | def utcoffset(self, dt): | ||
21 | return timedelta(0) | ||
22 | |||
23 | dst = utcoffset | ||