无时间显示时日期会提前一天

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.

我关于“插入日期/时间”功能有一个类似但不同的问题。

为什么右侧的 部分总是默认为昨天?

我几乎总是使用右侧,因为我需要输入时间。而在像今天这样的日子,我不得不额外多一步操作,将日历切换到八月。

这确实看起来不太对。@j.jaffeux,你能看一下吗?

应通过以下方式修复: