Message107123
Current OOP API of datetime is ugly:
from datetime import datetime
print datetime.today().isoformat()
The proposal is to add today() and now() as module functions:
from datetime import today, now
print today()
# datetime.date(2010, 6, 5)
print now()
# datetime.datetime(2010, 6, 5, 9, 48, 4, 868000) |
|
Date |
User |
Action |
Args |
2010-06-05 06:48:27 | techtonik | set | recipients:
+ techtonik |
2010-06-05 06:48:27 | techtonik | set | messageid: <1275720507.31.0.185559003971.issue8903@psf.upfronthosting.co.za> |
2010-06-05 06:48:26 | techtonik | link | issue8903 messages |
2010-06-05 06:48:25 | techtonik | create | |
|