Search
Forums
Kiwitrees on Twitter
    Tags

    users, Favourites, partner, 3.2.2, kiwitrees, custom modules, beta, edit, media, burial, immigration, divorce, shared note, 1939 Register, ASSO, configure, 2.0.2, pop-ups, themes, simpl_pages, order, gettext, webtrees 1.4.4.1, seo, sidebar, last change date, data errors, progress, children, message contactform, zoom, design, DIV, NCHI, contacts, logout, Batch Updates, feedback, kiwitrees theme, 3.3.3, transifex, descendant, Require visitor authentication, session, cousin tab, surname, version, 3.2.1, github, research tasks, Georgian, fancy tree view, blank, pages, events of close relatives, login upgrade, BURI, nickname, index, error

    #2327
    kiwi
    kiwi
    Keymaster

    1679 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.

    Nigel
    My personal kiwitrees site is www.our-families.info