summaryrefslogtreecommitdiffstats
path: root/Modules/datetimemodule.c
Commit message (Expand)AuthorAgeFilesLines
* timedelta comparison and datetime addition: as the Python implementationTim Peters2003-02-081-4/+4
* Comparison for timedelta, time, date and datetime objects: __eq__ andTim Peters2003-02-071-38/+52
* Whitespace normalizationNeal Norwitz2003-02-041-1/+1
* New functions alloc_{time,datetime}. Got rid of all setstate-likeTim Peters2003-02-011-168/+123
* There's no good reason for datetime objects to expose __getstate__()Tim Peters2003-02-011-52/+4
* Removed all uses of the out-of-favor __safe_for_unpickling__ magicTim Peters2003-02-011-27/+0
* All over: changed comments to reflect pickling is straightforward now,Tim Peters2003-02-011-7/+5
* delta_setstate(): This waS no longer referenced, so nukeit.Tim Peters2003-02-011-38/+2
* The various datetime object __setstate__() methods are no longer publicTim Peters2003-01-311-116/+105
* Backward branches are disgusting, at least when a forward branchTim Peters2003-01-311-6/+6
* Change the approach to pickling to use __reduce__ everywhere. MostGuido van Rossum2003-01-301-242/+221
* 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