summaryrefslogtreecommitdiff
path: root/doc/source/reference/arrays.datetime.rst
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2019-11-23 07:40:59 -0800
committerGitHub <noreply@github.com>2019-11-23 07:40:59 -0800
commitd76efa771b4915f4e3f5aa2023bb50e46c41b4bc (patch)
treef3625f42df57393bf8e08a9f67658252a7dd33b8 /doc/source/reference/arrays.datetime.rst
parent2f2fa20b95d1da4ea11fb78a8071787d626b39a3 (diff)
parentdff3c1f90af9053128e6e241e1b5f19d858670f4 (diff)
downloadnumpy-d76efa771b4915f4e3f5aa2023bb50e46c41b4bc.tar.gz
Merge pull request #14732 from mattip/refguide-rst
TST: run refguide-check on rst files in doc/*
Diffstat (limited to 'doc/source/reference/arrays.datetime.rst')
-rw-r--r--doc/source/reference/arrays.datetime.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/source/reference/arrays.datetime.rst b/doc/source/reference/arrays.datetime.rst
index 2225eedb3..9c45e04c7 100644
--- a/doc/source/reference/arrays.datetime.rst
+++ b/doc/source/reference/arrays.datetime.rst
@@ -368,7 +368,7 @@ times in UTC. By default, creating a datetime64 object from a string or
printing it would convert from or to local time::
# old behavior
- >>>> np.datetime64('2000-01-01T00:00:00')
+ >>> np.datetime64('2000-01-01T00:00:00')
numpy.datetime64('2000-01-01T00:00:00-0800') # note the timezone offset -08:00
A consensus of datetime64 users agreed that this behavior is undesirable
@@ -378,7 +378,7 @@ most use cases, a timezone naive datetime type is preferred, similar to the
datetime64 no longer assumes that input is in local time, nor does it print
local times::
- >>>> np.datetime64('2000-01-01T00:00:00')
+ >>> np.datetime64('2000-01-01T00:00:00')
numpy.datetime64('2000-01-01T00:00:00')
For backwards compatibility, datetime64 still parses timezone offsets, which
@@ -393,4 +393,4 @@ As a corollary to this change, we no longer prohibit casting between datetimes
with date units and datetimes with timeunits. With timezone naive datetimes,
the rule for casting from dates to times is no longer ambiguous.
-.. _pandas: http://pandas.pydata.org \ No newline at end of file
+.. _pandas: http://pandas.pydata.org