From 673b671ab80447d0339ad4b58130876bccb4d476 Mon Sep 17 00:00:00 2001 From: Joachim Lusiardi Date: Tue, 22 Jun 2021 21:49:32 +0200 Subject: [PATCH] fix date of service --- app/forms/service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/forms/service.py b/app/forms/service.py index 3415ead..b0c02d1 100644 --- a/app/forms/service.py +++ b/app/forms/service.py @@ -6,7 +6,7 @@ from .checks import * class CreateServiceForm(FlaskForm): - date = DateField('Date of Pitstop') + date = DateField('Date of Service') odometer = IntegerField('Odometer (km)', validators=[odometer_date_check]) costs = DecimalField('Costs (€, overall)', places=2, validators=[costs_check]) description = TextAreaField('Description', validators=[Length(1, 4096)]) @@ -72,4 +72,4 @@ class EditServiceForm(FlaskForm): 'litres': 'Litres must be higher than 0.01 L.', 'costs': 'Costs must be higher than 0.01 €.' } - return messages \ No newline at end of file + return messages