- 28 Eki, 2004 1 kayıt (commit)
-
-
Brett Cannon yazdı
of the year, and day of the week. Was not taking into consideration properly the issue of when %U is used for the week of the year but the year starts on Monday. Closes bug #1045381 again.
-
- 18 Eki, 2004 1 kayıt (commit)
-
-
Brett Cannon yazdı
and day of the week are specified. Closes bug #1045381.
-
- 06 Eki, 2004 1 kayıt (commit)
-
-
Brett Cannon yazdı
Closes bug #1039270.
-
- 14 Tem, 2004 1 kayıt (commit)
-
-
Brett Cannon yazdı
put everything in the tuple in caps to use str.upper() instead of str.lower().
-
- 12 Tem, 2004 1 kayıt (commit)
-
-
Brett Cannon yazdı
output more telling details when there is a failure.
-
- 16 Kas, 2003 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
* Install the unittests, docs, newsitem, include file, and makefile update. * Exercise the new functions whereever sets.py was being used. Includes the docs for libfuncs.tex. Separate docs for the types are forthcoming.
-
- 29 Agu, 2003 1 kayıt (commit)
-
-
Brett Cannon yazdı
Closes bug #796149 . Will be backported.
-
- 11 Agu, 2003 2 kayıt (commit)
-
-
Brett Cannon yazdı
-
Brett Cannon yazdı
time.daylight is true. Add an explicit test for this situation. Fixed some wording in docstrings.
-
- 05 Agu, 2003 1 kayıt (commit)
-
-
Brett Cannon yazdı
Also remove now unnecessary property attributes for thread safety (no longer have lazy attributes) and code simplicity reasons. Timezone storage has been reworked to be simpler and more flexible. All values in LocaleTime instances are lower-cased. This is all done to simplify the module. The module now assumes nothing beyond the strptime function will be exposed for general use beyond providing functionality for strptime.
-
- 24 Tem, 2003 1 kayıt (commit)
-
-
Brett Cannon yazdı
caught when executing test_strptime, test_logging, and test_time in that order when the testing of "%c" occured. Suspect the cache was not being recreated (the test passed when test_logging was forced to re-establish the locale).
-
- 22 Tem, 2003 1 kayıt (commit)
-
-
Brett Cannon yazdı
-
- 03 Tem, 2003 1 kayıt (commit)
-
-
Brett Cannon yazdı
time.tzname[1] and not time.daylight`` is true when it should only when time.daylight is true. Tests are also fixed. Closes bug #763047 and its cohort #763052.
-
- 30 Haz, 2003 1 kayıt (commit)
-
-
Neal Norwitz yazdı
-
- 29 Haz, 2003 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
Analysis by Bob Halley: The test seems to expect that if time.daylight is true, then the is_dst field of the tm structure will be 1 too. But this isn't the case, since daylight is true if the timezone does DST, *not* if DST is in effect.
-
- 11 May, 2003 1 kayıt (commit)
-
-
Brett Cannon yazdı
with values of 0. Also now check time.daylight to see if time.tzname[1] should be used in timezone checking.
-
- 01 May, 2003 1 kayıt (commit)
-
-
Walter Dörwald yazdı
and test_support.run_classtests() into run_unittest() and use it wherever possible. Also don't use "from test.test_support import ...", but "from test import test_support" in a few spots. From SF patch #662807.
-
- 28 Nis, 2003 1 kayıt (commit)
-
-
Brett Cannon yazdı
Raise a ValueError when there is data that was not covered in the format string. Done to match behavior of pre-existing C-based strptime implementations.
-
- 19 Nis, 2003 1 kayıt (commit)
-
-
Brett Cannon yazdı
-
- 09 Mar, 2003 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
Contributed by Brett Cannon. To prevent code duplication, I patched _strptime to use datetime's date object to do Julian day, Gregorian, and day of the week calculations. Patch also includes new regression tests to test results and the calculation gets triggered. Very minor comment changes and the contact email are also changed.
-
- 18 Ock, 2003 1 kayıt (commit)
-
-
Tim Peters yazdı
Patch from Brett Cannon: First, the 'y' directive now handles [00, 68] as a suffix for the 21st century while [69, 99] is treated as the suffix for the 20th century (this is for Open Group compatibility). strptime now returns default values that make it a valid date ... the ability to pass in a regex object to use instead of a format string (and the inverse ability to have strptime return a regex object) has been removed. This is in preparation for a future patch that will add some caching internally to get a speed boost.
-
- 26 Ara, 2002 1 kayıt (commit)
-
-
Neal Norwitz yazdı
-
- 27 Kas, 2002 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 23 Eyl, 2002 1 kayıt (commit)
-
-
Barry Warsaw yazdı
593560, with some minor cleanups, line folding and whitespace normalization by Barry.
-
- 03 Eyl, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
to fix it. (It fails when the day of the month is a 1-digit number, because %c produces space+digit there, while strptime seems to expect zero+digit somehow.)
-
- 29 Agu, 2002 1 kayıt (commit)
-
-
Barry Warsaw yazdı
localtime, which in -0400 is 12 noon GMT. The bug boiled down to broken conversion of 12 PM to hour 12 for the '%I %p' format string. Added a test for this specific condition: Strptime12AMPMTests. Fix to _strptime.py coming momentarily.
-
- 22 Agu, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
test_main() that creates a suite and runs it. Don't mess with sys.path!!!
-
- 08 Agu, 2002 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 19 Tem, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Also adds tests.
-