プロジェクト

全般

プロフィール

Vote #77202

未完了

Validation error on float custom filed in case of i18n decimal separator

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
I18n_37
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
37
version_id:
0
issue_org_id:
22024
author_id:
132974
assigned_to_id:
0
comments:
3
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
89
ステータス-->[New]

説明

Hi.I´m using redmine 2.6.2. I have created a custom field wich type is float. I want to use comma as decimal separator.

But when i set locale to , pt or pt-BR, for instance, if the user inputs a
float like '95,70' or '500,25' in a form input, numerical
validation will yield an 'invalid_number' error, even though this is a
valid format in Brazil.

Only works if i use dot as decimal separator... but it is not the right way to do it.

Is that a newer version of redmine that fix it ?

How we that uses comma as decimal separator deals with with number formats in redmine?

Thanks!


journals

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
thanks!
--------------------------------------------------------------------------------


related_issues

relates,New,21677,Use localised decimal separator for hours in the web UI

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0