Message158207
The point isn’t that time.strptime validates dates but that it uses datetime internally:
julian = datetime_date(year, month, day).toordinal() - \
datetime_date(year, 1, 1).toordinal() + 1
Is it worth to reimplement this functionality? It strikes easier to me to just use a different year if year is undefined and date == Feb 29. |
|
Date |
User |
Action |
Args |
2012-04-13 12:46:47 | hynek | set | recipients:
+ hynek, belopolsky, vstinner, swalker, Martin.Morrison |
2012-04-13 12:46:47 | hynek | set | messageid: <1334321207.36.0.981701575629.issue14157@psf.upfronthosting.co.za> |
2012-04-13 12:46:46 | hynek | link | issue14157 messages |
2012-04-13 12:46:46 | hynek | create | |
|