File tree 1 file changed +14
-12
lines changed
1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -793,17 +793,18 @@ def month_name(self, locale=None):
793
793
"""
794
794
Return the month names of the DateTimeIndex with specified locale.
795
795
796
+ .. versionadded:: 0.23.0
797
+
796
798
Parameters
797
799
----------
798
- locale : string, default None (English locale)
799
- locale determining the language in which to return the month name
800
+ locale : str, optional
801
+ Locale determining the language in which to return the month name.
802
+ Default is English locale.
800
803
801
804
Returns
802
805
-------
803
- month_names : Index
804
- Index of month names
805
-
806
- .. versionadded:: 0.23.0
806
+ Index
807
+ Index of month names.
807
808
"""
808
809
if self .tz is not None and self .tz is not utc :
809
810
values = self ._local_timestamps ()
@@ -819,17 +820,18 @@ def day_name(self, locale=None):
819
820
"""
820
821
Return the day names of the DateTimeIndex with specified locale.
821
822
823
+ .. versionadded:: 0.23.0
824
+
822
825
Parameters
823
826
----------
824
- locale : string, default None (English locale)
825
- locale determining the language in which to return the day name
827
+ locale : str, optional
828
+ Locale determining the language in which to return the day name.
829
+ Default is English locale.
826
830
827
831
Returns
828
832
-------
829
- month_names : Index
830
- Index of day names
831
-
832
- .. versionadded:: 0.23.0
833
+ Index
834
+ Index of day names.
833
835
"""
834
836
if self .tz is not None and self .tz is not utc :
835
837
values = self ._local_timestamps ()
You can’t perform that action at this time.
0 commit comments