Search Forums
Forums
Kiwitrees on Twitter
    Tags

    Add a wife, surname, access level, statistics, validation, descendants, tags, ID notes, responsive menus, Default record, beta, sanity checker, kiwitrees 2.0.2, fancy image bar, 3.3.0, bug, abbreviate, editor, lists, widget, marriage, access roles, ASSO, webtrees 1.4.4.1, simpl_research, mobile, logout, 3.2.0, menus, follow, default individual, simpl_pages, married, 3.0.0, events of close relatives, upgrade, custom modules, colors, fact, transifex, design, Histo, media_links, ADDR, 3.2.2, 3.2.3, logs, individual resource, census, inactive, library, burial, relationships, 3.3.2, GEDCOM errors, autocomplete, birth, edit interface, .po, road map

    #2327
    kiwi
    kiwi
    Keymaster

    1575 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