summaryrefslogtreecommitdiffstats
path: root/Modules/datetimemodule.c
Commit message (Expand)AuthorAgeFilesLines
* date and datetime comparison: when we don't know how toTim Peters2003-01-241-1/+13
* Updated the astimezone() proof to recover from all the last week'sTim Peters2003-01-241-77/+94
* Fix typoNeal Norwitz2003-01-231-1/+1
* SF bug 660872: datetimetz constructors behave counterintuitively (2.3a1).Tim Peters2003-01-231-12/+20
* Reimplemented datetime.now() to be useful.Tim Peters2003-01-231-7/+17
* fromutc(): Repair incorrect failure return, as noted by NealN. Thanks!Tim Peters2003-01-231-1/+1
* Bringing the code and test suite into line with doc and NEWS changesTim Peters2003-01-231-92/+127
* New rule for tzinfo subclasses handling both standard and daylight time:Tim Peters2003-01-201-21/+3
* Got rid of the internal datetimetz type.Tim Peters2003-01-111-1004/+635
* Minor fiddling to make the next part easier. Introduced an internalTim Peters2003-01-111-17/+20
* Get rid of compiler warningsNeal Norwitz2003-01-101-2/+2
* Got rid of the timetz type entirely. This was a bit trickier than ITim Peters2003-01-101-476/+336
* Removed more now-pointless pickle code.Tim Peters2003-01-101-93/+34
* Deleted pickle/unpickle code for the old datetime and time classes -- it'sTim Peters2003-01-081-160/+0
* Utterly minimal changes to collapse datetimetz into datetime, and timetzTim Peters2003-01-081-17/+10
* Added a couple of casts to make this compile with CodeWarrior.Jack Jansen2003-01-081-3/+3
* datetime_from_timet_and_us(): ignore leap seconds if the platformTim Peters2003-01-041-1/+10
* A new implementation of astimezone() that does what we agreed on in allTim Peters2003-01-041-41/+35
* Fix compiler warningNeal Norwitz2003-01-041-1/+1
* Completed astimezone()'s correctness proof. This also proves we can getTim Peters2003-01-041-4/+53
* The tzinfo methods utcoffset() and dst() must return a timedelta objectTim Peters2003-01-021-22/+14
* astimezone() internals: if utcoffset() returns a duration, complain ifTim Peters2003-01-021-1/+5
* The astimezone() correctness proof endured much pain to prove whatTim Peters2003-01-021-70/+43
* SF bug 661086: datetime.today() truncates microseconds.Tim Peters2003-01-021-7/+16
* Completed astimezone's correctness proof. That doesn't mean it'sTim Peters2003-01-021-4/+51
* A quicker astimezone() implementation, rehabilitating an earlierTim Peters2003-01-011-65/+151
* datetimetz_astimezone(): Speed optimizations -- although I'd ratherTim Peters2003-01-011-32/+38
* A new, and much hairier, implementation of astimezone(), building onTim Peters2002-12-311-24/+126
* Bite the bullet on all the indirect timetz and datetimetz tzinfo methods:Tim Peters2002-12-301-14/+20
* A step on the way to making tzinfo classes writable by mortals: get ridTim Peters2002-12-301-32/+42
* And put back a little code duplication, in the form of asserts.Tim Peters2002-12-271-0/+3
* Squash recently-introduced code duplication.Tim Peters2002-12-271-66/+37
* Make comparison and subtraction of aware objects ignore tzinfo if theTim Peters2002-12-271-27/+64
* Implemented datetime.astimezone() and datetimetz.astimezone().Tim Peters2002-12-251-18/+84
* Implemented .replace() methods for date, datetime, datetimetz, time andTim Peters2002-12-241-26/+154
* call_utc_tzinfo_method(): Got rid of the label and the gotos.Tim Peters2002-12-231-7/+2
* I give up: unless I write my own strftime by hand, datetime just can'tTim Peters2002-12-221-0/+25
* Python's strftime implementation does strange things with the year,Tim Peters2002-12-221-1/+5
* classify_object(): Renamed more meaningfully, to classify_utcoffset().Tim Peters2002-12-221-20/+17
* Implemented a Wiki suggestion:Tim Peters2002-12-221-76/+123
* format_utcoffset(): The natural type of the buflen arg is size_t, soTim Peters2002-12-201-10/+8
* Fix another long vs int mismatch. test_datetime now passes on alphaNeal Norwitz2002-12-191-3/+3
* Fixed typo in string.Tim Peters2002-12-191-5/+20
* Fix crash on alphas due to mismatch between 'l' format and int variables.Neal Norwitz2002-12-191-1/+1
* delta_str(): Purged last uses of sprintf (in favor of PyOS_snprintf).Tim Peters2002-12-181-10/+25
* "time_second" is apparently a #define on MacOSX. Renamed the (static)Jack Jansen2002-12-171-2/+2
* Fix GCC warnings. It turns out two out of three pointed to real bugs!Guido van Rossum2002-12-161-3/+3
* datetime escapes the sandbox. The Windows build is all set. I leave itTim Peters2002-12-161-0/+5075