Search Forums
Kiwitrees on Twitter

    contact links, 3.1, husband, fancy image bar, age, relationships, source, custom, login upgrade, blocks, autocomplete, message contactform, living, googlemap, colors, locked out, family, edit, translation, CHR, set link, 3.0.0, road map, sanity, watermark, inactive, permissions, webtrees, click, save settings, Extra menus, event, events of close relatives, family fact, php 7, menus, folder, dates, order, Export/Import, title, white screen, birth, missing data, stories, simpl_grey, follow, image, configure, REFN, widget, wish, Fancy imagebar, editor, FAQ, blank screem, pop-ups, edit interface, defacto, re-order


    1449 posts

    A good thought, but sadly no. The en_US is definitely %g:%i:%s %a which is correct.

    The default in the code (/library/WT/I18N.php) is actually %H:%i:%s but then each language, including en_US has their own translation. For American it translates to %g:%i:%s %a

    H = 24-hour format of an hour with leading zeros 00 through 23
    G = 24-hour format of an hour without leading zeros 0 through 23
    g = 12-hour format of an hour without leading zeros 1 through 12
    (the %a at the end adds the “am/pm” suffix)

    But all of these are just for display anyway. They don’t change the underlying time calculation.


    My personal kiwitrees site is