# Verkeerde tijd bij gebruik van de date picker: bug?

**URL:** <https://meta.discourse.org/t/wrong-time-when-using-the-date-picker-bug/167520>\
**Category:** Bug\
**Created:** [18 oktober 2020 om 15:23 UTC](https://meta.discourse.org/t/wrong-time-when-using-the-date-picker-bug/167520 "2020-10-18T15:23:18Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Benjamin\_D](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/benjamin_d/32/277831_2.png) [@Benjamin\_D](https://meta.discourse.org/u/Benjamin_D)\
**Post date:** [21 oktober 2020 om 14:28 UTC](https://meta.discourse.org/t/wrong-time-when-using-the-date-picker-bug/167520/6 "2020-10-21T14:28:50Z")

</div>

I don’t think it’s working, there might also be something about the condition line 99 of [discourse-local-dates.js.es6](https://github.com/discourse/discourse/blob/master/plugins/discourse-local-dates/assets/javascripts/lib/discourse-markdown/discourse-local-dates.js.es6)

```
if (config.timezone && moment.tz.names().includes(config.timezone))

```

which isn’t true (but should be).

edit  
I just realize the fix was committed on another branch, I’ll be back 😅  
… so no I checked,

```
[date=2020-12-20 time=15:00:00 timezone=„Europe/Paris“]
[date=2020-12-20 time=15:00:00 timezone=Europe/Paris]
[date=2020-12-20 time=15:00:00 timezone="Europe/Paris"]
[date=2020-12-20 time=15:00:00 timezone=«Europe/Paris»]

```

are right, right, wrong, wrong

---

_[View the full topic](https://meta.discourse.org/t/wrong-time-when-using-the-date-picker-bug/167520)._
