File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -496,8 +496,8 @@ import pytz
496
496
``` python
497
497
< D/ T/ DT > = D/ T/ DT .fromisoformat(' <iso>' ) # Object from ISO string.
498
498
< 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.
501
501
< DTn> = DT .utcfromtimestamp(< real> ) # Naive DT from seconds since Epoch in UTC time.
502
502
< DTa> = DT .fromtimestamp(< real> , < tz> ) # Aware DT from seconds since Epoch in tz time.
503
503
```
You can’t perform that action at this time.
0 commit comments