Skip to content

Commit f5ee7f0

Browse files
committed
Datetime fix
1 parent 458570b commit f5ee7f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,8 +496,8 @@ import pytz
496496
```python
497497
<D/T/DT> = D/T/DT.fromisoformat('<iso>') # Object from ISO string.
498498
<DT> = DT.strptime(<str>, '<format>') # Datetime from string, according to format.
499-
<D/DTn> = D/DT.fromordinal(<int>) # Date or datetime from days since Christ.
500-
<D/DTn> = D/DT.fromtimestamp(<real>) # D/DT from seconds since Epoch in local time.
499+
<D/DTn> = D/DT.fromordinal(<int>) # Object from days since Christ.
500+
<D/DTn> = D/DT.fromtimestamp(<real>) # Object from seconds since Epoch in local time.
501501
<DTn> = DT.utcfromtimestamp(<real>) # Naive DT from seconds since Epoch in UTC time.
502502
<DTa> = DT.fromtimestamp(<real>, <tz>) # Aware DT from seconds since Epoch in tz time.
503503
```

0 commit comments

Comments
 (0)