Browse Source

Datetime fix

pull/28/head
Jure Šorn 5 years ago
parent
commit
c6bc792d8d
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -494,7 +494,7 @@ import pytz
### Encode
```python
<D/T/DT> = D/T/DT.fromisoformat('<iso>') # D/T/DT from ISO string.
<D/T/DT> = D/T/DT.fromisoformat('<iso>') # Object from ISO string.
<DT> = DT.strptime(<str>, '<format>') # Datetime from string according to format.
<D/DTn> = D/DT.fromordinal(<int>) # Date or datetime from days since Christ.
<D/DTn> = D/DT.fromtimestamp(<real>) # D/DT from seconds since Epoch in local time.

Loading…
Cancel
Save