0

Default Axiom to a 24-hour clock

Hi, how do you configure canary/axiom to display a 24-hour clock instead of am/pm? 

5 replies

null
    • smason
    • 3 yrs ago
    • Official response
    • Reported - view

    Sure! After much investigation, I finally have a clear understanding of how the Axiom client determines the date/time format.

    The date/time format is dependent upon the language setting of the client's browser, not the OS. If you open the console (F12) of the browser you will see the locale and timezone it is using.

    If a client would want to change their locale they could do it within their browser's language settings, or you can do it within Axiom by clicking on your username in the top-right corner and selecting Preferences>Locale.

    The "local_time_format" which Jeff Knepper referred to is on the server itself and would override both the browser's locale setting and the Axiom client's preference.

    • Helping you release your data rockstar!
    • Jeff_Knepper
    • 3 yrs ago
    • Reported - view

    Great question Jon.

    Open this file:

    C:\Program Files\Canary\Axiom\WebFiles\settings.json

    Edit line 54 of the settings.json file so that it now reads:

       "local_time_format": "HH:mm:ss",
    

    Save as an admin

    • jon_forbord
    • 3 yrs ago
    • Reported - view

    Thanks, that worked. I also saw the server regional settings were set to English (United States). That sounds like a likely root cause. But shouldn't Axiom clients connecting to the server use their own regional settings? 

      • jon_forbord
      • 3 yrs ago
      • Reported - view

      jon. forbord Turns out changing the regional settings on the server didn't help. At least not without a restart of the server. 

      • Helping you release your data rockstar!
      • Jeff_Knepper
      • 3 yrs ago
      • Reported - view

      Steve Mason can you weigh in on any previous experience with this?

Content aside

print this pagePrint this page
  • Status Answered
  • 3 yrs agoLast active
  • 5Replies
  • 123Views
  • 3 Following