Datepicker validate incorrectly when changing time zone

Fixed in

EPiServer.Forms.ServiceApi 3.4.0

Created

Nov 19, 2018

Updated

Feb 05, 2020

State

Closed, Fixed and tested


Description

Steps to reproduce:
1. Install Alloy site
2. Create container form with 2 steps
3. Add date time range in step 1
4. Change the time zone to (UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi
5. Open container form, input valid date time range and click "Next step"

Expected: Step 2 is showed
Actual: Validation error is showed "Enter a valid date time range"