Datepicker returns unwanted 1-1-1970 as default value
Hello everyone, When making use of the date picker I am getting the unwanted result of a default return 1-1-1970 if the improper format is used. Per example: "thisisnotaproperdate" or "k" or "111-1-2011" etc. The date picker then jumps to 1-1-1970! I would like it to stay on the current time and date, ex. June 2011. This is what I would like because the time which has to be filled in will always be in the future. Where can I set this default time value of the date picker if any incorrect string is entered? Thanks for input, feedback and answers! With best regards, Ivan
To set the date to the current date you must go to the entity in which you have the date-attribute, then you must edit that attribute and then choose [%CurrentDateTime%] under default value.
The idea was great, I tried it!
Sadly it did not work, when entering in the datepicker "krkrkrrkkr", the value after reselecting the datepicker will be: