mirror of
https://github.com/araddon/dateparse.git
synced 2026-08-20 17:03:30 +08:00
Simple CLI to test out dateparse.
$ dateparse --timezone="America/Denver" "2017-07-19 03:21:51+00:00"
+---------------------------+---------------+----------------+---------------------------------+
| Input | Zone Source | Timezone | Parsed, and Output as %v |
+---------------------------+---------------+----------------+---------------------------------+
| 2017-07-19 03:21:51+00:00 | Local Default | PDT | 2017-07-19 03:21:51 +0000 +0000 |
| 2017-07-19 03:21:51+00:00 | timezone arg | America/Denver | 2017-07-19 03:21:51 +0000 +0000 |
| 2017-07-19 03:21:51+00:00 | UTC | UTC | 2017-07-19 03:21:51 +0000 UTC |
+---------------------------+---------------+----------------+---------------------------------+