From fa1968f035aaeb63408a36d2c02df2d127e4ec11 Mon Sep 17 00:00:00 2001 From: Finn Date: Thu, 17 Aug 2017 16:23:25 +0100 Subject: [PATCH] DatetimeErrorlogfix --- lib/Pear/LocalLoop/Controller/Api/Upload.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Pear/LocalLoop/Controller/Api/Upload.pm b/lib/Pear/LocalLoop/Controller/Api/Upload.pm index 253dfc0..711b83e 100644 --- a/lib/Pear/LocalLoop/Controller/Api/Upload.pm +++ b/lib/Pear/LocalLoop/Controller/Api/Upload.pm @@ -60,6 +60,7 @@ has error_messages => sub { }, purchase_time => { required => { message => 'purchase_time is missing', status => 400 }, + is_full_iso_datetime => 'purchase_time is in incorrect format', status => 400 }, }, file => { required => { message => 'No file uploaded', status => 400 },