DMXzone Calendar 2 Support Product Page


Problem when using dmxzoneCalendar2 with Timepicker

Asked 25 Aug 2012 01:58:43
has this question
25 Aug 2012 01:58:43 Nelson Therrien posted:

It seems there's a bug when using Timepicker as an add-on to dmxCalendar2...

When I use dmxCalendar2 alone, I can set initial date, min. date and max date using things like 0, '+1', '+1y' and similar, but as soon as I enable the Timepicker, it throws errors like "Bad date format for Min Date! Expecting mm/dd/yy got '+1y'".

So, there's a problem with the code, because it works when you use dateCalendar alone (and Timepicker works alone as well).


Replied 27 Aug 2012 07:26:48
27 Aug 2012 07:26:48 Vulcho Vulev replied:
Hello Nelson.

Can you please make sure that under advanced tab in the calendar 2 User Interface you had selected the same date format ? mm/dd/yy in the Date Format field ?

Regards: Vulcho.
Replied 27 Aug 2012 11:24:59
27 Aug 2012 11:24:59 Nelson Therrien replied:

No, it doesn't change anything (anyway, I wasn't using the advanced section). The new Timepicker update (released today, I think) doesn't solve the problem either...

I found out what caused the problem, though... It's because I select a min and max value for the time... If I leave them empty, I don't get the errors... So, there's a bug when we select those options AND use something like '+1y' in the date...

Also, changing those options after (i.e. editing) didn't change them (min and max time)... I had to go inside code to delete them...

Reply to this topic