Message98363
| Author |
eric.smith |
| Recipients |
JordanS, eric.smith |
| Date |
2010年01月26日.19:44:01 |
| SpamBayes Score |
0.00045935533 |
| Marked as misclassified |
No |
| Message-id |
<1264535042.42.0.510477729074.issue7789@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
datetime.datetime passes its format string to strftime:
>>> import datetime
>>> x = datetime.datetime(2001, 1, 2, 3, 4)
>>> x.strftime('%Y-%m-%d')
'2001-01-02'
>>> '{0:%Y-%m-%d}'.format(x)
'2001-01-02'
I'll check to make sure this is documented. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年01月26日 19:44:02 | eric.smith | set | recipients:
+ eric.smith, JordanS |
| 2010年01月26日 19:44:02 | eric.smith | set | messageid: <1264535042.42.0.510477729074.issue7789@psf.upfronthosting.co.za> |
| 2010年01月26日 19:44:01 | eric.smith | link | issue7789 messages |
| 2010年01月26日 19:44:01 | eric.smith | create |
|