diff --git a/README.md b/README.md index d8962ad..46c799d 100644 --- a/README.md +++ b/README.md @@ -630,7 +630,7 @@ from dateutil.tz import UTC, tzlocal, gettz, resolve_imaginary = DT.fromtimestamp(, ) # Aware datetime from seconds since Epoch. ``` * **ISO strings come in following forms: `'YYYY-MM-DD'`, `'HH:MM:SS.ffffff[±]'`, or both separated by an arbitrary character. Offset is formatted as: `'HH:MM'`.** -* **On Unix systems Epoch is `'1970-01-01 00:00 UTC'`, `'1970-01-01 01:00 CET'`, ...** +* **On Unix systems Epoch is: `'1970-01-01 00:00 UTC'`, `'1970-01-01 01:00 CET'`, ...** ### Decode ```python diff --git a/index.html b/index.html index bd6eabd..fc93690 100644 --- a/index.html +++ b/index.html @@ -682,7 +682,7 @@ shuffle(<list>)
  • ISO strings come in following forms: 'YYYY-MM-DD', 'HH:MM:SS.ffffff[±<offset>]', or both separated by an arbitrary character. Offset is formatted as: 'HH:MM'.
  • -
  • On Unix systems Epoch is '1970-01-01 00:00 UTC', '1970-01-01 01:00 CET', …
  • +
  • On Unix systems Epoch is: '1970-01-01 00:00 UTC', '1970-01-01 01:00 CET', …

Decode

<str>    = <D/T/DT>.isoformat(sep='T')      # Also timespec='auto/hours/minutes/seconds'.
 <str>    = <D/T/DT>.strftime('<format>')    # Custom string representation.
diff --git a/web/script_2.js b/web/script_2.js
index 0c00e8c..fb6510b 100644
--- a/web/script_2.js
+++ b/web/script_2.js
@@ -110,7 +110,7 @@ const DIAGRAM_5_A =
 
 const DIAGRAM_5_B =
   "┏━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━┓\n" +
-  "┃               │    {<float>}    │   {<float>:f}   │   {<float>:e}   │   {<float>:%}   ┃\n" +
+  "┃               │      {<el>}     │     {<el>:f}    │     {<el>:e}    │     {<el>:%}    ┃\n" +
   "┠───────────────┼─────────────────┼─────────────────┼─────────────────┼─────────────────┨\n" +
   "┃   0.000056789 │    '5.6789e-05' │     '0.000057'  │  '5.678900e-05' │     '0.005679%' ┃\n" +
   "┃   0.00056789  │    '0.00056789' │     '0.000568'  │  '5.678900e-04' │     '0.056789%' ┃\n" +
@@ -129,7 +129,7 @@ const DIAGRAM_6_A =
 
 const DIAGRAM_6_B =
   "┏━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━┓\n" +
-  "┃               │   {<float>:.2}  │  {<float>:.2f}  │  {<float>:.2e}  │  {<float>:.2%}  ┃\n" +
+  "┃               │    {<el>:.2}    │    {<el>:.2f}   │    {<el>:.2e}   │    {<el>:.2%}   ┃\n" +
   "┠───────────────┼─────────────────┼─────────────────┼─────────────────┼─────────────────┨\n" +
   "┃   0.000056789 │    '5.7e-05'    │       '0.00'    │    '5.68e-05'   │       '0.01%'   ┃\n" +
   "┃   0.00056789  │    '0.00057'    │       '0.00'    │    '5.68e-04'   │       '0.06%'   ┃\n" +