material-datetime-picker icon indicating copy to clipboard operation
material-datetime-picker copied to clipboard

Localisation of timepicker

Open falko100 opened this issue 8 years ago • 6 comments

Hi.

Is it possible to set the timepicker to 24:00 display? And to change the language for days and months ?

Thanks in advance.

falko100 avatar May 02 '17 11:05 falko100

You can use moment locales to set the language for day and month, and change some date formatting options - see https://github.com/ripjar/material-datetime-picker/issues/89#issuecomment-278151106.

I'm open to a PR to make the date formatting more customisable (by exposing moment format strings as options).

joews avatar May 02 '17 12:05 joews

This changes output, but not the language inside the datetimepicker right ?

falko100 avatar May 02 '17 13:05 falko100

Ahh I was using an outdated version :)

falko100 avatar May 02 '17 13:05 falko100

Is it possible to translate the OK and Cancel buttons?

falko100 avatar May 03 '17 07:05 falko100

Yes - #129 addresses this, but it needs a few changes before I can merge it.

joews avatar May 03 '17 07:05 joews

How can i looking foto the perfect time

frutsy007 avatar May 10 '17 13:05 frutsy007