I'm trying to get a date for flights from the user and the datepicker always sets the date as datetime object with the user's timezone, resulting in a wrong date sent to server.
tried to use ng-model-options="{ timezone: 'utc' }"
but then the user see the wrong date after choosing the date (the date displayed as a day before what the user chose).
How can I tell datepicker to completely ignore timezone - if not possible what can I do on FE / BE to convert this date to non timezone date ?
I know I can convert it to Posix on FE but once I do it the datepicker screams that it needs date object.
Thanks in advance...