(09-17-2015 06:31 AM)RateU Wrote: Very nice
I just want to add an idea to work also (hopefully) when editing draft and post preview (or when inline post error triggered):
Also (if not saving it as string), maybe it is better (in my opinion) to set the Underlying Data Type to Integer.
I use pikaday though.
Hi RateU, I tried the code but doesn't work
For now I'm using this:
With this the problem still is if user doesn't add a date in the field and I edit (and then save) the thread I have "1970/01/01" date instead of an empty field.
For the rest is ok: if I create a new thread I haven't problem; if I edit a thread with an existent date I have correct date (and not a string like before).
Date in preview post doesn't work