log babel/dates.py @ 516:606af7395ad8

age author description
Sat, 05 Mar 2011 09:55:42 +0000 fschwarz fixed spelling in docstring
Sat, 05 Mar 2011 09:33:08 +0000 jruigrok Import of tzinfo is not necessary.
Fri, 04 Mar 2011 22:34:14 +0000 fschwarz Fix bad check in format_time (closes #257), reported with patch and tests by jomae stable-0.9.x
Tue, 22 Feb 2011 15:39:46 +0000 jruigrok Merged revisions 554 via svnmerge from stable-0.9.x
Tue, 22 Feb 2011 15:16:13 +0000 jruigrok Small speed improvement for format_date() by getting rid of duplicate parse_pattern.
Thu, 15 Apr 2010 14:20:11 +0000 jruigrok Commit the resulting files after a 2to3 -nvw run. experimental-babel3
Thu, 08 Apr 2010 07:53:01 +0000 jruigrok Merged revisions 493-494 via svnmerge from stable-0.9.x
Tue, 06 Apr 2010 11:48:54 +0000 cmlenz Backport r500 to 0.9.x stable branch. stable-0.9.x
Tue, 06 Apr 2010 11:45:01 +0000 cmlenz Workaround for a weird bug with newer versions of pytz, which fails when `utcoffset()` gets passed a `None` argument. Which it shouldn't be getting in the first place.
Sat, 27 Feb 2010 11:15:18 +0000 jruigrok Fix some more typos.
Sat, 27 Feb 2010 10:32:54 +0000 palgarvio Typo correction.
Fri, 21 Aug 2009 12:11:39 +0000 jruigrok Mark up two docstrings as raw (r""") in order to get the escaped characters
Wed, 29 Jul 2009 10:00:32 +0000 jruigrok First changes to accomodate CLDR 1.7's changes.
Tue, 15 Jul 2008 16:48:02 +0000 cmlenz Ported [436] to 0.9.x branch. stable-0.9.x
Tue, 15 Jul 2008 16:34:18 +0000 cmlenz Fixed quarters in date formatting.
Tue, 15 Jul 2008 16:02:17 +0000 cmlenz The `format_timedelta` function now returns, for example, ?1 day? instead of ?0 days? if the granularity is `day` and the delta is less than a day but greater than zero.
Tue, 15 Jul 2008 12:53:52 +0000 cmlenz Doc improvements for the new `format_timedelta` function.
Mon, 14 Jul 2008 22:18:39 +0000 aronacher Fixed a bug in plural.py that caused a traceback for some locales, changed the `__mod__` DateTimePattern to not raise exceptions but return NotImplemented.
Mon, 14 Jul 2008 22:13:44 +0000 cmlenz Preliminary support for timedelta formatting (see #126), and import/expose the locale plural rules from the CLDR.
Tue, 08 Jul 2008 21:01:28 +0000 cmlenz Ported [407:415/trunk] back to 0.9.x branch. stable-0.9.x
Mon, 07 Jul 2008 20:55:15 +0000 cmlenz Fix conversion of timestamp to `datetime` in `format_datetime()`
Mon, 07 Jul 2008 14:49:16 +0000 cmlenz Implement support for aliases in the CLDR data. Closes #68. Also, update to CLDR 1.6, and a much improved `dump_data` script.
Mon, 16 Jun 2008 16:07:52 +0000 cmlenz Ported [385] to 0.9.x branch. stable-0.9.x
Mon, 16 Jun 2008 16:05:35 +0000 cmlenz Fixes for timezone calculations in time formatting (#83).
Mon, 16 Jun 2008 12:48:43 +0000 cmlenz Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk]. stable-0.9.x
Mon, 16 Jun 2008 12:24:04 +0000 cmlenz Update to CLDR 1.5.1, which split out the metazone mappings into a separate supplemental file.
Mon, 16 Jun 2008 11:37:52 +0000 cmlenz Fix for incorrect month context lookup in date formatting. Closes #75. Thanks to Andrew Stromnov for reporting the problem and providing a patch.
Wed, 19 Mar 2008 15:32:18 +0000 jruigrok Actually use UTC to be more correct.
Wed, 19 Mar 2008 15:03:07 +0000 jruigrok Replace Europe/Paris with Universal.
Wed, 19 Mar 2008 14:58:15 +0000 jruigrok Fix typo.
Thu, 30 Aug 2007 08:34:30 +0000 cmlenz Merged [301:303] from [source:trunk] via svnmerge. stable-0.9.x
Sun, 26 Aug 2007 13:43:06 +0000 jonas Fixed a bug introduced by [301].
Sun, 26 Aug 2007 13:38:58 +0000 jonas Fixed formatting bug with 12-hour clock patterns.
Wed, 15 Aug 2007 13:13:24 +0000 cmlenz Fix typo in [271] that slipped into the check-in.
Wed, 15 Aug 2007 13:12:25 +0000 cmlenz Added examples for using `get_timezone_name` to documentation.
Wed, 15 Aug 2007 12:41:40 +0000 cmlenz Fail more gracefully when formatting the timezone for an unknown/invalid territory.
Wed, 15 Aug 2007 12:35:45 +0000 cmlenz Fix for `get_timezone_name` when falling back to GMT display.
Sun, 12 Aug 2007 19:19:43 +0000 cmlenz `get_timezone_gmt()` wasn't getting the locale passed in all cases, which led to test errors when the default locale wasn't configured via environment variables.
Tue, 07 Aug 2007 21:41:35 +0000 cmlenz Finish implementation of day-of-year and day-of-month for now, and fix implementation of year-of-week-of-year field. Closes #46. I suspect there are still cases not entirely covered by this implementation, but those can be filed as separate tickets.
Tue, 07 Aug 2007 20:08:42 +0000 cmlenz Implement day-of-week-in-month field in date formatting. Closes #50.
Tue, 07 Aug 2007 20:01:35 +0000 cmlenz More work on #46 (week-of-year/week-of-month).
Tue, 07 Aug 2007 17:17:28 +0000 cmlenz Again, properly implement week-in-year (#46).
Tue, 07 Aug 2007 17:16:10 +0000 cmlenz Back out [251] which contained an accidential commit.
Tue, 07 Aug 2007 17:13:45 +0000 cmlenz Properly implement week-in-year (#46).
Wed, 01 Aug 2007 12:32:20 +0000 cmlenz Upgraded to CLDR 1.5 and improved timezone formatting.
Mon, 16 Jul 2007 20:51:49 +0000 cmlenz Implement day-of-year date format field. Closes #49.
Mon, 16 Jul 2007 06:30:01 +0000 cmlenz Implement milliseconds in day (#48).
Sun, 15 Jul 2007 22:09:02 +0000 cmlenz Support for fractional seconds field in date formatting. Closes #47.
Fri, 13 Jul 2007 22:22:03 +0000 cmlenz Dummy/stub implementation for week-in-year and week-in-month date format fields. Also, treat extended year the same as the regular year field, not even ICU seems to handle it specially.
Mon, 18 Jun 2007 17:31:59 +0000 cmlenz Implement wall-time time-zone display.
Wed, 13 Jun 2007 08:26:23 +0000 cmlenz Add wrapper class bundling the various formatting functions bound to a specific locale and time-zone.
Fri, 08 Jun 2007 19:10:51 +0000 cmlenz More explicit module-level function names in `babel.core`. Added `Locale.negotiate` class method.
Wed, 06 Jun 2007 20:54:11 +0000 cmlenz Minor docstring fixes.
Wed, 06 Jun 2007 11:02:24 +0000 cmlenz Move function for determining the system default locale to `babel.core`, and make it available as a class method on `Locale`.
Tue, 05 Jun 2007 22:59:24 +0000 cmlenz Started implementation of datetime parsing, using a very basic approach for now.
Mon, 04 Jun 2007 16:03:12 +0000 cmlenz Extended time-zone support.
Mon, 04 Jun 2007 14:28:54 +0000 cmlenz * Import datetime patterns from CLDR.
Mon, 04 Jun 2007 10:51:38 +0000 cmlenz More work on timezones.
Thu, 31 May 2007 17:56:14 +0000 cmlenz Moved some datetime tests from doctest to unittest, to avoid breaking docutils/epydoc doctest block detection.
Thu, 31 May 2007 17:10:47 +0000 cmlenz Started documentation for date formatting, plus some code tweaks in that area.
Copyright (C) 2012-2017 Edgewall Software