When logging work for another user with a different locale, decimal separator is not correctly handled

Description

Scenario 1

1) Set colleague’s locate to ENGLISH

2) Set your own locale to FRENCH

3) Try to log work for colleague using your own account

4) Enter “0,25h” to time spent field and it will be recorded as if “25h” (This is incorrect)

5) Enter “15m” and it will be recorded as “0.25h” (This is correct: 15 minutes is 0.25 hours)

Scenario 2

1) Set colleague’s locate to ENGLISH

2) Set your own locale to FRENCH

3) Colleague logs work using his own account on his own machine

4) Enter “0,25h” to time spent field and it will be recorded as if “0,25h” (This is correct)

5) From my own account on my own machine, try to MOVE colleague’s work from one feature/bug to another, logged time is automatically transformed from 0,25h to 25h (this is incorrect)

The most problematic for me is scenario 2 as project managers often move time from a sub task to the main project because of internal procedures on which type of work needs to be recorded where (i.e. meeting time goes into the project/epic, development time goes to the subtask or feature).

Environment

None

Priority

Critical

Assignee

Deniz Oğuz

Reporter

Deniz Oğuz

Affects versions

None

Fix versions

Labels

None

Source

None

Jira Version

None

Database Type/Version

None

Browser Type/Version

None
Configure