From a25708bcda1f824b318485f88e27f906d695740d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sat, 30 Mar 2019 13:54:40 +0100 Subject: [PATCH] Datetime --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 179c318..54e72c9 100644 --- a/README.md +++ b/README.md @@ -497,7 +497,7 @@ from dateutil.tz import UTC, tzlocal, gettz = D/DT.fromordinal() # D/DTn from days since Christ. = DT.fromtimestamp(, ) # DTa from seconds since Epoch in tz time. ``` -* **ISO strings come in following forms: `'YYYY-MM-DD'`, `'HH:MM:SS.ffffff[]'`, or both separated by `'T'`. Offset is formatted as: `'±HH:MM'`.** +* **ISO strings come in following forms: `'YYYY-MM-DD'`, `'HH:MM:SS.ffffff[±]'`, or both separated by `'T'`. Offset is formatted as: `'HH:MM'`.** * **On Unix systems Epoch is `'1970-01-01 00:00 UTC'`, `'1970-01-01 01:00 CET'`, ...** ### Decode diff --git a/index.html b/index.html index 0794988..84883ec 100644 --- a/index.html +++ b/index.html @@ -498,7 +498,7 @@ shuffle(<list>) <DTa> = DT.fromtimestamp(<real>, <tz>) # DTa from seconds since Epoch in tz time.
    -
  • ISO strings come in following forms: 'YYYY-MM-DD', 'HH:MM:SS.ffffff[<offset>]', or both separated by 'T'. Offset is formatted as: '±HH:MM'.
  • +
  • ISO strings come in following forms: 'YYYY-MM-DD', 'HH:MM:SS.ffffff[±<offset>]', or both separated by 'T'. Offset is formatted as: 'HH:MM'.
  • On Unix systems Epoch is '1970-01-01 00:00 UTC', '1970-01-01 01:00 CET', …

Decode