From: scompo Date: Tue, 7 Aug 2018 16:11:34 +0000 (+0000) Subject: Fix money format X-Git-Url: https://git.scompo.it/?a=commitdiff_plain;h=5c58d248688224ea8ccb87687d75c24b67db618b;p=money.git Fix money format Fixes #14 --- 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, '', '')