(root)/ – Rev 36845
Rev 36844 |
Rev 36846 |
Go to most recent revision |
Last modification |
Compare with Previous |
View Log
| RSS feed
Last modification
- Rev 36845 2026-06-15 16:07:55
- 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.