+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / 5.3 Date Time localization in modules build with module builder

5.3 Date Time localization in modules build with module builder

4 posts, 0 answered
  1. Markus
    Markus avatar
    2763 posts
    Registered:
    25 Nov 2005
    11 Jan 2013
    Link to this post
    Good day

    Wonder if anybody can tell me if this is a bug or if there are some settings in the mighty fields of the advanced admin.

    I have a site front and back default in German.

    I did add an date/time field in the module builder

    a) the date is still english even though time is shown correct in 24 hours format
    b) in the overview the date is wrongly displayed as 02:00 instead of 14:00 (second should not be displayed)

    See here www.marktold.com/screencast/sf_module_date_time_localization.swf

    Markus

    PS: Published should read veröffentlicht in overview - another localization problem

  2. Nikolay Dimitrov
    Nikolay Dimitrov avatar
    17 posts
    Registered:
    17 Oct 2016
    14 Jan 2013
    Link to this post
    Hello Markus,

     Thank you for reporting the missing translations in the language pack. I will check and log them.

     For the issue with the datetime, I believe that if you go to Administration -> Settings -> Advanced -> DynamicModules -> Controls -> Telerik.Sitefinity.DynamicTypes.Model.YourModule.YourContentTypeBackendDefinition -> Views -> YourContentTypeBackendList -> View Models -> Grid -> Columns -> YourDateTimeField and change the datetime format in Client Template, the issue will be solved.

    If you have any other problems please do not hesitate to contact us again. 

    As a gratitude to your help - I've increased your Telerik points.

    All the best,
    Nikolay Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Markus
    Markus avatar
    2763 posts
    Registered:
    25 Nov 2005
    14 Jan 2013 in reply to Nikolay Dimitrov
    Link to this post
    Dear Nikolay

    Thank's for pointing out where to change it in the mighty fields of the advanced admin!

    How about the error that 14:00 (2 pm) if choosen is shown as 02:00 (2 am)

    Markus
  4. Sonya
    Sonya avatar
    205 posts
    Registered:
    29 Sep 2016
    15 Jan 2013
    Link to this post
    Hello Marcus,

    Please, change the setting  of your hour format to  HH:mm:ss (use HH instead of hhin [Client Template] field .
      

    <span>{{ (Daten) ? Daten.sitefinityLocaleFormat('dd MMM, yyyy HH:mm:ss'): '-' }}</span>.

    There are two types of hour formats:
    HH - Hours with leading zero for single-digits hours; 24-hour clock.
    hh - Hours with leading zero for single-digits hours; 12-hour clock.

    Kind regards,

    Sonya
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
4 posts, 0 answered