You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thinking some more about this (after being head down on this issue for the past two hours) I just realize that it could be because the javascript doesn't get evaluated and so only hard values work here? (like -10 or "+1W"). But then why would new Date() work but new Date(1289430000000) won't?
So, the question then remains, can I set fixed min/max date instead of a relative date using this gem? (all examples in the README show relative date ranges)
Hi!
The point is that parameter is meant to be in javascript, but we are passing it through Rails. The plugin doesn't support evaluating the javascript (at least, it doesn't yet). In fact, new Date() isn't working either, if you set whatever string you want you'll se the same result.
It seems when I do:
Things work correctly (that is, I can't go lower than todays date)
However, this doesn't work:
This time, I shouldn't be able to go lower than "11-11-2010" but I still can.
I verified that this should work by using the following, which worked correctly:
Any idea what might be going on here?
The text was updated successfully, but these errors were encountered: