From 6ad92c032c690390355c093ab7c41b72073cc5eb Mon Sep 17 00:00:00 2001 From: TATHAGATA ROY Date: Tue, 20 Jun 2023 13:13:45 +0000 Subject: [PATCH 1/4] Recommendation of DateType in the datetime documentation --- Doc/library/datetime.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst index 400c369a9bb736d..0bbd1e56b7399d8 100644 --- a/Doc/library/datetime.rst +++ b/Doc/library/datetime.rst @@ -37,6 +37,9 @@ on efficient attribute extraction for output formatting and manipulation. Package `dateutil `_ Third-party library with expanded time zone and parsing support. + Repository `DateType `_ + It can be used to improve type checking of naive vs. aware datetimes. + .. _datetime-naive-aware: Aware and Naive Objects From c14c48662b19402d1c9b463cfd400ed812769a1b Mon Sep 17 00:00:00 2001 From: TATHAGATA ROY Date: Fri, 25 Aug 2023 01:04:55 +0530 Subject: [PATCH 2/4] Update Doc/library/datetime.rst changed datetype url Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> --- Doc/library/datetime.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst index 0bbd1e56b7399d8..93c01ff6a1313e4 100644 --- a/Doc/library/datetime.rst +++ b/Doc/library/datetime.rst @@ -37,7 +37,7 @@ on efficient attribute extraction for output formatting and manipulation. Package `dateutil `_ Third-party library with expanded time zone and parsing support. - Repository `DateType `_ + Package `DateType `_ It can be used to improve type checking of naive vs. aware datetimes. .. _datetime-naive-aware: From ecdb1ff82e061d5c7278eaade2ac5f66732c32f6 Mon Sep 17 00:00:00 2001 From: TATHAGATA ROY Date: Fri, 25 Aug 2023 01:05:11 +0530 Subject: [PATCH 3/4] Update Doc/library/datetime.rst Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> --- Doc/library/datetime.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst index 93c01ff6a1313e4..7693bf88d09a454 100644 --- a/Doc/library/datetime.rst +++ b/Doc/library/datetime.rst @@ -38,7 +38,7 @@ on efficient attribute extraction for output formatting and manipulation. Third-party library with expanded time zone and parsing support. Package `DateType `_ - It can be used to improve type checking of naive vs. aware datetimes. + Third-party library that introduces distinct types for naive and aware datetimes. .. _datetime-naive-aware: From 11342238e95969fc23797edb9d270d369c4cb238 Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Fri, 1 Sep 2023 13:21:08 -0700 Subject: [PATCH 4/4] Update Doc/library/datetime.rst --- Doc/library/datetime.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst index 7693bf88d09a454..04cc75562937e0e 100644 --- a/Doc/library/datetime.rst +++ b/Doc/library/datetime.rst @@ -38,7 +38,8 @@ on efficient attribute extraction for output formatting and manipulation. Third-party library with expanded time zone and parsing support. Package `DateType `_ - Third-party library that introduces distinct types for naive and aware datetimes. + Third-party library that introduces distinct static types to e.g. allow static type checkers + to differentiate between naive and aware datetimes. .. _datetime-naive-aware: