[TIME-33] Formating of numeric values is not locale aware

Issue #33 resolved
Andriy Zhdanov created an issue

Reported by Petra Pail (pcp):

Hi,
We are using Jira 3.12 with this plugin v. 1.7 and I encounter the following problem: When I export the time sheet into Excel it measures the work logs in hours (the other reports export time in minutes). Unfortunately everything above an hour is converted into a date e.g. 1.33 hours become first of January 1933 and 2.67 hours become first of February 1967. Is there anything I can do?

Thanks for your response!

By azhdanov/Andrew Zhdanov on Thu, 24 Jan 2008 13:58:36 -0800

Comments (2)

  1. Andriy Zhdanov reporter

    Made formating of numeric ($textUtil.getHours and $textUtil.getPrettyHours()) and date ($textUtil.getDate()) locale aware (thanks to suggestion from Jozef Kotlár to use $i18n.getLocale())

    Available in 1.7 and 1.8 - Committed revision 14593

    todo - confirm it solves original issue in description.

    By azhdanov on Thu, 24 Jan 2008 14:22:56 -0800

  2. Log in to comment