ENH: Use LocaleTime for date_field_name output · Issue #12806 · pandas-dev/pandas (original) (raw)
Instantiate LocaleTime and use the property .f_weekday to generate weekday and month names.
Currently datename strings are pulled from a hard coded (English) array in get_date_name_field() in tslib.py, better to pull these from a Locale adjusted array.
Code Sample:
pd.Timestamp("2016-04-06").weekday_name
Expected Output
e.g. for the a platform with Dutch locale:
'woensdag'