Wrong settings of the user language and locale causes build logs to be shown with a default time 01-Jan-1970 01:00:00

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

When running bamboo build plans or deployments, the datetime shown in the build logs default to 01-Jan-1970 01:00:00 . If the build logs is however downloaded, the correct time is shown. See the screenshot for the current abnormally

 

Cause

The root of the issue is caused by the fact that the user locale was wrongly set or conflicts with the user language. An example of such is when the user locale is in Swiss and the language is US. This can also happen the other way round. The only rare case where this is displayed correctly is in months where the month abbreviation is same in both languages. In the example above, November is abbreviated as Nov. in both US and Swiss and as such this problem will not be noticeable. For more information about months abbreviation in several locales see http://library.princeton.edu/departments/tsd/katmandu/reference/months.html  

Resolution

 Please check and alter the values of this properties as appropriate. 

 

-Duser.language=DE -Duser.country=CH -Duser.timezone=Europe/Berlin

If you are not sure about the values of the above, please check here . For info on how to configure system properties, please see Configuring your system properties

Last modified on Mar 24, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.