Hi there,
I am using cobalt 8 with great satisfaction, but I only come across the following 'problem':
When somebody is submitting an item and setting the expiery date not in the right format (yyyy-mm-dd hh-mm-ss). So if they, for example put "94" as minutes, in stead of "49" they'll get this error:
I get an error 0: DateTime::__construct() [datetime.--construct]: Failed to parse time string (2013-05-22 23:96:00) at position 15 (6): Double time specification.
Is there a way to get a nice notification istead of this error?
by
A) make a date and time field in my item and have the date and time put in the 'extime' field of this item as well.
OR
B) get the date and time string checked when submitting.
(if possible I would prefer option A, because than I can use the expiery date to sort my items, quite important for me)
Thanks a lot for your help!
Alwin
Hi there,
I am using cobalt 8 with great satisfaction, but I only come across the following 'problem':
When somebody is submitting an item and setting the expiery date not in the right format (yyyy-mm-dd hh-mm-ss). So if they, for example put "94" as minutes, in stead of "49" they'll get this error:
I get an error 0: DateTime::__construct() [datetime.--construct]: Failed to parse time string (2013-05-22 23:96:00) at position 15 (6): Double time specification.
Is there a way to get a nice notification istead of this error?
by
A) make a date and time field in my item and have the date and time put in the 'extime' field of this item as well.
OR
B) get the date and time string checked when submitting.
(if possible I would prefer option A, because than I can use the expiery date to sort my items, quite important for me)
Thanks a lot for your help!
Alwin