@@ -537,10 +537,10 @@ def shift(self, n, freq):
537
537
>>> index = xr.cftime_range("2000", periods=1, freq="M")
538
538
>>> index
539
539
CFTimeIndex([2000-01-31 00:00:00],
540
- dtype='object', length=1, calendar='gregorian ', freq=None)
540
+ dtype='object', length=1, calendar='standard ', freq=None)
541
541
>>> index.shift(1, "M")
542
542
CFTimeIndex([2000-02-29 00:00:00],
543
- dtype='object', length=1, calendar='gregorian ', freq=None)
543
+ dtype='object', length=1, calendar='standard ', freq=None)
544
544
"""
545
545
from .cftime_offsets import to_offset
546
546
@@ -626,7 +626,7 @@ def to_datetimeindex(self, unsafe=False):
626
626
>>> times = xr.cftime_range("2000", periods=2, calendar="gregorian")
627
627
>>> times
628
628
CFTimeIndex([2000-01-01 00:00:00, 2000-01-02 00:00:00],
629
- dtype='object', length=2, calendar='gregorian ', freq=None)
629
+ dtype='object', length=2, calendar='standard ', freq=None)
630
630
>>> times.to_datetimeindex()
631
631
DatetimeIndex(['2000-01-01', '2000-01-02'], dtype='datetime64[ns]', freq=None)
632
632
"""
0 commit comments