Closed olekpuchka closed 7 years ago
Hello,
If your model is not null, then you don't need to define the attribute ng-date
, so you should remove the line ng-date="{{ vm.data.dateOfBirth.toString() }}"
(the date picker will still correctly initialise with ng-model
).
If this do not resolve the issue, then I would like to know: 1) in which timezone is the client, 2) the back-end's timezone and 3) the code you use to read the date from the backend (an Ajax call maybe?).
Regards
Closed due to inactivity
Hello, There is an issue with cutting -1h every time when saving data.
Scenario: 1) Sent request to back-end got response, example: there is dateOfBirht with time 06:05:41 2) Then i didn't change anything and just save and sent it back to back-end, but in request time is cuted into 05:05:41 3) Every time when i do the same steps time cutting with -1h , and we can reach the previous day -1day if do it many times.
I used in html this:
Can you help ?
Thanks.