Merging the changes that we have made over the last couple of years with the upstream project code by matthewhampton · Pull Request #1 · j5int/python-datetime-tz · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
71761ff
Add Windows support using win32timezone
Apr 12, 2010
28ed6bd
Add a localize function, which either adds the local timezone to a na…
Apr 12, 2010
9ecb327
Correct typo
Apr 12, 2010
d0a79bd
Always use pytz timezones
Apr 14, 2010
18f5c82
All pytz timezones use localize
Apr 14, 2010
ef8f81e
Optimize comparisons between timezones. Use common timezones as prior…
May 4, 2010
a06dcea
Add a utility function to strip timezone info from a datetime See #3603
Jun 2, 2010
9a053e4
Add support for looking up non-English time zone names to the windows…
Jul 22, 2010
f87b480
Moved `win32timezones` into a separate file, and added code that actu…
Jul 22, 2010
5afa371
Added method for calculating local timezone name, for use as a defaul…
Jul 22, 2010
07c442d
Use `Std` rather than `Index` to map the time zone names, and make su…
Jul 23, 2010
02aa2ef
When we localize, make sure we always return a datetime_tz for consis…
Jan 27, 2011
d718a7d
Removed lots of extraneous print statements or converted them to logg…
Jun 13, 2011
dff4ab9
Handle skipping `__rsub__` on pypy. See #5760
Aug 2, 2011
8249ae9
Replace all except Exception, e with except Exception as e
Aug 15, 2011
bf8291f
Switch to calling the `kernel32` methods ourselves, and use `GetDynam…
Aug 23, 2011
e467b64
If the key name is returned (i.e. we have `GetDynamicTimeZoneInformat…
Aug 23, 2011
62faa4f
Added `ctypes` structures necessary to call the `GetDynamicTimeZoneIn…
Aug 23, 2011
76efec2
Add `VirtualTime` implementation that currently patches `time.time`, …
Sep 9, 2011
0b93686
Sort out the `datetime_tz` inheritance so that we don't need to chang…
Sep 9, 2011
03d0a34
Adjust localize function so you can opt not to change the timezone if…
Dec 12, 2011
f81c6fb
Add a `require_timezone` method that tests can use
Jun 1, 2012
70b195b
Added a test to test comparing datetime_tz to a naive datetime
Nov 8, 2012
18a6c4f
Add an __eq__ implementation which converts a naive datetime into a d…
Nov 8, 2012
a371d16
Add gt, ge, lt, le and ne comparisons
Nov 8, 2012
3e924b2
Added tests for the other comparisons
Nov 8, 2012
fd8f5b3
Create __deepcopy__ method for datetime_tz
Dec 6, 2013
c43e9b6
Implement __copy__ function on datetime_tz
Dec 6, 2013
091eca8
Add dst tests to test_datetime_tz
Mar 18, 2014
3ea060d
Copy changes from google code version to our version
Mar 18, 2014
79059fa
Remove tests that don't work from the get go. EST != US/Eastern
Mar 18, 2014
3c53f8c
modify Scheduler tests
Mar 18, 2014
0943a94
comment out test that uses override for localtime file
Mar 19, 2014
ca229bc
Accept tzinfo in replace but use it properly
Mar 19, 2014
ff38afc
Do an empty list check so as to avoid an index out of bounds condition.
May 28, 2014
ced392a
Merge upstream changes in.
May 28, 2014
c3ae950
Fixed a merge conflict resolution error.
May 28, 2014
0d0b280
Restored support for mis-spelled 'tommorrow' in smart parse (for back…
May 28, 2014
fbb4c91
Revert Virtual Time related references
May 28, 2014
dead7e0
Revert Virtual Time related references.
May 28, 2014
3991de8
Remove tests that are for features removed.
May 28, 2014
c853fbf
Adding new functions to __all__ list.
May 29, 2014
ef5e95e
Move the code for updating the win32tz_map in to a separate utility m…
May 29, 2014
09d94c9
Make datetime_tz subclass-able by using type(self) in place of a hard…
May 29, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
211 changes: 172 additions & 39 deletions datetime_tz/__init__.py
Loading