diff --git a/README.md b/README.md index 51c870a..16a7a11 100644 --- a/README.md +++ b/README.md @@ -582,7 +582,7 @@ Datetime -------- * **Module 'datetime' provides 'date' ``, 'time' ``, 'datetime' `
` and 'timedelta' `` classes. All are immutable and hashable.** * **Time and datetime can be 'aware' ``, meaning they have defined timezone, or 'naive' ``, meaning they don't.** -* **If object is naive it is presumed to be in system's timezone.** +* **If object is naive it is presumed to be in the system's timezone.** ```python from datetime import date, time, datetime, timedelta diff --git a/index.html b/index.html index bc85ce7..9381133 100644 --- a/index.html +++ b/index.html @@ -635,7 +635,7 @@ shuffle(<list>)

#Datetime

  • Module 'datetime' provides 'date' <D>, 'time' <T>, 'datetime' <DT> and 'timedelta' <TD> classes. All are immutable and hashable.
  • Time and datetime can be 'aware' <a>, meaning they have defined timezone, or 'naive' <n>, meaning they don't.
  • -
  • If object is naive it is presumed to be in system's timezone.
  • +
  • If object is naive it is presumed to be in the system's timezone.
from datetime import date, time, datetime, timedelta
 from dateutil.tz import UTC, tzlocal, gettz