Time and Date formats in the GUI



  • Hello everyone,

    I've noticed that the time/date formats varies in different parts of the web GUI. For example:

    In the Dashboard:
    Tue Sep 1 13:55:04 CEST 2015

    Viewing DHCP leases in UTC:
    2015/09/01 13:54:39

    Viewing DHCP leases in local time:
    2015/09/01 03:54:39PM

    Viewing OpenVPN status:
    Wed Aug 26 23:19:26 2015

    Viewing RRD Graphs:
    Sep 01 13:57:54 2015

    I can't find any setting to change the formats, so I guess they are hard coded on the various pages. Any thoughts about maybe trying to clean this up a bit so that the same format is used everywhere?

    Regards
    Johan


  • Rebel Alliance Developer Netgate

    I don't believe it is something anyone has put much thought into. In some places our hands are tied depending on what certain utilities support, but it may be possible to have a format option in general. If someone were to code it up and submit it as a pull request it would likely be approved if it is coded well.