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? 

5replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
    • Steve Mason
    • smason
    • 2 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.

    Like
    • Jeff Knepper
    • Helping you release your data rockstar!
    • Jeff_Knepper
    • 2 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

    Like
  • 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? 

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

      Like
      • Jeff Knepper
      • Helping you release your data rockstar!
      • Jeff_Knepper
      • 2 yrs ago
      • Reported - view

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

      Like
print this pagePrint this page
Like Follow
  • Status Answered
  • 2 yrs agoLast active
  • 5Replies
  • 96Views
  • 3 Following