Search Forums
Forums
Kiwitrees on Twitter
    Tags

    admin, html, edit, 3.0.0. setup, 3.3.3, 3.2.2, 2.0.2, login upgrade, googlemaps, css, birth, ID facts, repo, emigration, fact, re-order, 500, 3.1.1, descendants, sanity checker, 3.2.1, blank screem, partner, fatal error, events of close relatives, data errors, news module, Favourites, research tasks, sidebar, event, margin, IE11, abbreviate, slideshow, footer, bug, check, php 7, Google Maps, 7.0, php 5.6, relationships, BURI, kiwitrees, Themes change, blank, login failure, fixing errors, xenea, Support/Bug Reporting, editor, time, duplicates, language, family, server, colors theme, BAPM, getClientIp

    #2327
    kiwi
    kiwi
    Keymaster

    1636 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