jQWidgets Forums

jQuery UI Widgets Forums Scheduler jqxScheduler Localization

This topic contains 2 replies, has 2 voices, and was last updated by  Klaus H 6 years, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • jqxScheduler Localization #100941

    Klaus H
    Participant

    Hello,

    I am looking at your localization example. Contrary to the other examples, this scheduler uses the 24 hour format. Is including the globalize.culture.de-DE.js file the only thing I have to do to achieve this? I see no other line of code that assigns the culture to the scheduler.

    Unfortunately the dialog that is provided to add an appointment or edit an appointment does not inherit the date format, the two date pickers use the format “22/11/2017 01:00 PM” for example instead of “22.11.2017 13:00”. I can modifiy the following properties:
    editDialogDateTimeFormatString: “dd.MM.yyyy hh:mm”,
    editDialogDateFormatString: “dd.MM.yyyy”,

    But I still do not have the 24 hour format in the display and I still have the AM/PM selector in the time selector.

    Is it possible to achieve this? Otherwise this great widget is not usable for a German customer base.

    Best Regards
    Klaus

    PS: You should translate the editDialogSaveString with “Speichern”, not with “Sparen”. Sparen is used in the context of saving money, Speichern when saving data.

    jqxScheduler Localization #100946

    Martin
    Participant

    Hello Klaus,

    You are absolutely right. You should use the editDialogDateTimeFormatString.
    The only thing you have to change is “dd.MM.yyyy HH:mm” instead of “dd.MM.yyyy hh:mm” for 24 hours format.

    Best Regards,
    Martin

    jQWidgets Team
    http://www.jqwidgets.com/

    jqxScheduler Localization #100947

    Klaus H
    Participant

    Hello Martin,

    thank you, that worked, I did not think about the difference between HH and hh.

    Best Regards
    Klaus

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.