Daten werden ohne Uhrzeitangaben einen Tag zu früh angezeigt

Hello,

While using the automatic date function today I found out that the date is not displaying correctly if listed without a time. For example:

2019-03-04T00:00:00Z

Despite listing it as March 3rd The text above here is actually:

[date=2019-03-04]

but displays incorrect as March 3rd.

This seems to occur with any date, it is always one day before.

EDIT:

It should be noted that this also occurs in the preview window:

Looks correct to me per the hover / mouseover tooltip

Huh… Why does it default to LA? Should it not default to the user’s time zone or at least the website time zone? (The Discourse that I posted on was set to ET/NY so should be correct)

…and for that matter, why is there a time listed on the hover?

Are you manually typing out the date without the timezone or removing the timezone? I believe without the timezone it’s interpreting the date as UTC and converting it to your local timezone. (It’s currently the 7th in UTC, but the 6th in EST)

This is what it looks like when I click insert:

[date=2019-03-03 timezone="America/New_York"]

Which is correctly rendered as 2019-03-03T05:00:00Z

On hover we’re providing a reference to multiple timezones, to give some context that this is a localized date/time. If you click advanced mode in the insert date menu, you can change which timezones are displayed on hover.

Ich habe eine ähnliche, aber etwas andere Frage zur Funktion „Datum/Uhrzeit einfügen".

Warum ist der Bereich auf der rechten Seite standardmäßig immer auf gestern eingestellt?

Ich verwende fast immer die rechte Seite, da ich eine Uhrzeit eingeben muss. An Tagen wie heute muss ich den zusätzlichen Schritt unternehmen, den Kalender auf August umzustellen.

Das sieht tatsächlich schlecht aus. @j.jaffeux, könntest du das bitte prüfen?

Sollte durch folgenden Pull Request behoben werden: