Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Date and Time fields: hour changes on each update #1547

Closed
metas-lc opened this issue Feb 1, 2018 · 4 comments
Closed

Date and Time fields: hour changes on each update #1547

metas-lc opened this issue Feb 1, 2018 · 4 comments
Assignees
Labels
Milestone

Comments

@metas-lc
Copy link

metas-lc commented Feb 1, 2018

Is this a bug or feature request?

bug

What is the current behavior?

when you update a date+time field, hour changes each time with -1h

Which are the steps to reproduce?

  1. open a sales order e.g. https://w101.metasfresh.com:8443/window/143/1000364
  2. change date promised
    (e.g. from 01/26/2018 10:59 PM to 01/16/2018)
  3. notice date promised now
    => 01/16/2018 9:59 PM - hour changed as well NOK

What is the expected or desired behavior?

hour shall not change

@siemiatj
Copy link
Contributor

siemiatj commented Feb 9, 2018

99% positive this is a TZ issue again. Should be a quick fix once I'll find where the date is saved.

@siemiatj
Copy link
Contributor

siemiatj commented Feb 9, 2018

@metas-lc can you retest this one ? Seem that my fix for other issue might've fixed this too.

To reproduce this I had to change my TZ to Romania.

@siemiatj
Copy link
Contributor

@teosarca I'm wondering if we should be fixing this on the client side ? We're sending the date with user's TZ (in this case +02:00), but we're getting the server time back (+01:00).

@teosarca
Copy link
Member

@siemiatj Talked with @metas-mk and we think this issue shall be solved by #1933.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants