arqex / arqex/react-datetime

When date is changed before daylight savings, time does not update to be standard time

Open
#861 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2k
Forks
858
PR merge metrics
No merged PRs in 30d

Description

### I'm Submitting a ...

```
[ x ] Bug report
[ ] Feature request
[ x ] Support request
```

### Steps to Reproduce

- Using version 4.8.0
- Use momentTimeZone do
```
import momentTimezone from "moment-timezone/moment-timezone";
momentTimezone.tz.add("America/Los_Angeles|PST PDT|80 70|0101|1Lzm0 1zb0 Op0");
```
- load the calendar
```

```

- When you change the date on the calendar from a date in daylight savings to one not in daylight savings the calendar wont use the PST time zone over the PDT time zone

### Expected Results

Going from PDT dates to PST dates are respected

### Actual Results

They are not, the time picker stays in PDT

### Minimal Reproduction of the Problem

See above

### Other Information (e.g. stacktraces, related issues, suggestions how to fix)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.