Mercurial > hg > config
comparison python/epoch2date.py @ 668:ef2762b1f7e8
note to self about fun tzinfo to fix in a year
| author | Jeff Hammel <k0scist@gmail.com> |
|---|---|
| date | Thu, 17 Apr 2014 13:04:26 -0700 |
| parents | af95905ca177 |
| children | bcf5781b615e |
comparison
equal
deleted
inserted
replaced
| 667:af95905ca177 | 668:ef2762b1f7e8 |
|---|---|
| 3 | 3 |
| 4 """ | 4 """ |
| 5 conversion between epoch and dates | 5 conversion between epoch and dates |
| 6 | 6 |
| 7 https://docs.python.org/2/library/time.html | 7 https://docs.python.org/2/library/time.html |
| 8 https://docs.python.org/2/library/datetime.html | |
| 9 http://bugs.python.org/issue7229 | |
| 8 """ | 10 """ |
| 9 | 11 |
| 10 import argparse | 12 import argparse |
| 11 import datetime | 13 import datetime |
| 12 import os | 14 import os |
