Rev 36843 |
Go to most recent revision |
Compare with Previous |
Directory listing |
Details |
Blame |
View Log
| RSS feed
Last modification
- Rev 36845 – 37 d 12 h
- Author: aman
- Log message:
- Fix Acquired Date rejecting today's date due to UTC vs local midnight comparison
new Date('YYYY-MM-DD') parses as UTC midnight while the 'today' reference is
local midnight, so in IST (UTC+5:30) today's date compared as future and was
rejected. Add parseLocalYMD() to parse the picked value at local midnight and
use it in both the change handler and submit-time validation.