From 5c58d248688224ea8ccb87687d75c24b67db618b Mon Sep 17 00:00:00 2001 From: scompo Date: Tue, 7 Aug 2018 16:11:34 +0000 Subject: [PATCH] Fix money format Fixes #14 --- money/money.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/money/money.py b/money/money.py index 55ebfc9..528be42 100755 --- a/money/money.py +++ b/money/money.py @@ -49,7 +49,7 @@ def create_input_message(field_name, field_format, field_default_value): TYPE_MESSAGE = create_input_message(TYPE_FIELD_NAME, '+/-', '-') DATE_MESSAGE = create_input_message(DATE_FIELD_NAME, 'DD/MM/YYYY', _('today')) HOUR_MESSAGE = create_input_message(HOUR_FIELD_NAME, 'HH:MM', _('now')) -VALUE_MESSAGE = create_input_message(VALUE_FIELD_NAME, '(#####.##)', '') +VALUE_MESSAGE = create_input_message(VALUE_FIELD_NAME, '#####.##', '') DESCRIPTION_MESSAGE = create_input_message(DESCRIPTION_FIELD_NAME, '', '') -- 2.25.1