diff options
author | Mike Crute <mcrute@gmail.com> | 2010-02-15 22:11:50 -0500 |
---|---|---|
committer | Mike Crute <mcrute@gmail.com> | 2010-02-15 22:11:50 -0500 |
commit | df130cd5d132fc5eaf1c88b16c33289c9f31f559 (patch) | |
tree | e6fda7905a2341a75a0b9051c5fe8766fb4748c2 /exchange/timezones.py | |
parent | 6ac707f8ab6ccc551bb0bf1a92aee4ce5329d4f3 (diff) | |
download | calendar_proxy-df130cd5d132fc5eaf1c88b16c33289c9f31f559.tar.bz2 calendar_proxy-df130cd5d132fc5eaf1c88b16c33289c9f31f559.tar.xz calendar_proxy-df130cd5d132fc5eaf1c88b16c33289c9f31f559.zip |
Re-factoring for better abstraction. Moving timezone.
Diffstat (limited to 'exchange/timezones.py')
-rw-r--r-- | exchange/timezones.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/exchange/timezones.py b/exchange/timezones.py deleted file mode 100644 index b570e7b..0000000 --- a/exchange/timezones.py +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | # vim: set filencoding=utf8 | ||
2 | """ | ||
3 | Timezone Definitions | ||
4 | |||
5 | @author: Mike Crute (mcrute@gmail.com) | ||
6 | @organization: SoftGroup Interactive, Inc. | ||
7 | @date: April 26, 2009 | ||
8 | """ | ||
9 | |||
10 | from datetime import tzinfo, timedelta | ||
11 | |||
12 | |||
13 | class EST(tzinfo): | ||
14 | |||
15 | def tzname(self, dt): | ||
16 | return "EST" | ||
17 | |||
18 | def utcoffset(self, dt): | ||
19 | return timedelta(0) | ||
20 | |||
21 | dst = utcoffset | ||