Skip to content

Commit 458570b

Browse files
committed
Datetime fix
1 parent c6bc792 commit 458570b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ import pytz
495495
### Encode
496496
```python
497497
<D/T/DT> = D/T/DT.fromisoformat('<iso>') # Object from ISO string.
498-
<DT> = DT.strptime(<str>, '<format>') # Datetime from string according to format.
498+
<DT> = DT.strptime(<str>, '<format>') # Datetime from string, according to format.
499499
<D/DTn> = D/DT.fromordinal(<int>) # Date or datetime from days since Christ.
500500
<D/DTn> = D/DT.fromtimestamp(<real>) # D/DT from seconds since Epoch in local time.
501501
<DTn> = DT.utcfromtimestamp(<real>) # Naive DT from seconds since Epoch in UTC time.

0 commit comments

Comments
 (0)