Project

General

Profile

# Date Author Comment
11970 01/20/2014 11:33 AM Aaron Marcuse-Kubitza

moved everything into /trunk/ to create the standard svn layout, for use with tools that require this (eg. git-svn). IMPORTANT: do NOT do an `svn up`. instead, re-use your working copy's existing files with `svn switch` (http://svnbook.red-bean.com/en/1.6/svn.ref.svn.c.switch.html).

1467 03/19/2012 02:55 PM Aaron Marcuse-Kubitza

lib/*.py: Removed svn:executable property to turn execute bit off

1370 03/12/2012 12:41 PM Aaron Marcuse-Kubitza

dates.py: parse_date_range(): Fixed bug where the date parts were not joined back together into a string for each date range element. Use strings.single_space() after the date has been split into range parts so that whitespace around the range separator is removed instead of being replaced with a single space.

1365 03/11/2012 07:32 PM Aaron Marcuse-Kubitza

dates.py: Added parse_date_range() and helper funcs could_be_year() and could_be_day()

1263 03/05/2012 01:09 PM Aaron Marcuse-Kubitza

dates.py: Added strtotime() to wrap dateutil.parser.parse() with default defaulting to epoch, so that e.g. months with day missing default to day 1 instead of the current day of the month

1041 02/18/2012 01:59 PM Aaron Marcuse-Kubitza

dates.py: Fixed timestamp() to deal with microseconds correctly by adding them after time.mktime()

1040 02/18/2012 01:41 PM Aaron Marcuse-Kubitza

dates.py: Deal properly with different timezones by using external dateutil package. Added total_seconds() to replace datetime.timedelta.total_seconds() on Python before 2.7.

845 02/06/2012 11:12 AM Aaron Marcuse-Kubitza

dates.py: Fixed strftime() to pad years and days with leading zeros as datetime.strftime() does

844 02/06/2012 11:01 AM Aaron Marcuse-Kubitza

dates.py: Work around strftime() bug that can't deal with 2/29 on a leap year

817 02/04/2012 01:03 PM Aaron Marcuse-Kubitza

Added dates.py to handle date/time manipulation, such as fixing Python's broken strftime() that can't handle years before 1900