Set 24-hour clock format in Jenkins

前端 未结 2 469
囚心锁ツ
囚心锁ツ 2021-02-05 10:50

Despite the fact that in http:///systemInfo the user.timezone property value meets my actual time zone I still have 12-hour clock

相关标签:
2条回答
  • 2021-02-05 11:11

    As @Arkain mentioned, you should specify in browser's settings the language which suits your intended time format. I had both English (US) and just English (which I thought was English (GB)), but then I realized that I should have added additional English (GB) language.

    Thank you!

    0 讨论(0)
  • 2021-02-05 11:23

    Unfortunately, this situation hasn't changed and Jenkins' date display style is still linked to the browser language as of January 2016.

    On a sidenote: There's a Locale Plugin, which supposedly allows to override Jenkins' default behaviour of picking up the locale via the browser language. Although - as Greg Dubicki noted - this plugin does process a language_country_variant string, only the language part (a 2-digit ISO 639-1 language code) has an effect, and it's only defining the UI langauge. The date display format still seems to be defined solely by the browser's language.

    0 讨论(0)
提交回复
热议问题