angular2-datetimepicker icon indicating copy to clipboard operation
angular2-datetimepicker copied to clipboard

Internationalization days of week and months

Open pavelgordon opened this issue 8 years ago • 2 comments

Hi, is there any way to translate labels in datetime picker? Customer's requirement is that all labels should be on native language(non-english), even week days. image

pavelgordon avatar Jan 31 '18 12:01 pavelgordon

DateOption = { timePicker: false, format: 'dd/MM/yyyy', cal_days_labels: ['CN','T2','T3','T4','T5','T6','T7'], cal_full_days_lables: ["Chủ Nhật", "Thứ Hai", "Thứ Ba", "Thứ Tư", "Thứ Năm", "Thứ Sáu", "Thứ Bảy"], cal_months_labels: ['Tháng 1', 'Tháng 2', 'Tháng 3', 'Tháng 4', 'Tháng 5', 'Tháng 6', 'Tháng 7', 'Tháng 8', 'Tháng 9', 'Tháng 10', 'Tháng 11', 'Tháng 12'], cal_months_labels_short: ['Th 1', 'Th 2', 'Th 3', 'Th 3', 'Th 5', 'Th 6', 'Th 7', 'Th 8', 'Th 9', 'Th 10', 'Th 11', 'Th 12'], }

I configured days label and month label. But it is not working?

trannguyenminhluan3214 avatar Aug 07 '18 06:08 trannguyenminhluan3214

Is this solved?

BhavaniVertace avatar Aug 08 '19 12:08 BhavaniVertace