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
In the project I'm working on, we have a requirement for people to be able to enter date/times such as "tomorrow" so DateJSevolved is perfect. However, "tomorrow" means 0000 which is tonight/tomorrow morning - our users expect it to be "end of" tomorrow night/day-following morning. I've "patched" this by setting $P.clearTime to use this.setHours(23); this.setMinutes(59); this.setSeconds(59) - however, I'll much prefer to not have to change the core code.
Could you amend it so we can, optionally, pass in a "midnight/clearTime" date (or specify "use start of day"/"use end of day" if no time is specified).
Thanks!
The text was updated successfully, but these errors were encountered:
In the project I'm working on, we have a requirement for people to be able to enter date/times such as "tomorrow" so DateJSevolved is perfect. However, "tomorrow" means 0000 which is tonight/tomorrow morning - our users expect it to be "end of" tomorrow night/day-following morning. I've "patched" this by setting $P.clearTime to use this.setHours(23); this.setMinutes(59); this.setSeconds(59) - however, I'll much prefer to not have to change the core code.
Could you amend it so we can, optionally, pass in a "midnight/clearTime" date (or specify "use start of day"/"use end of day" if no time is specified).
Thanks!
The text was updated successfully, but these errors were encountered: