You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following snippet has date, time and timezone offset in three different elements, using the value-class-pattern.
<divclass="h-event"><spanclass="e-summary">HomebrewWebsiteClub Berlin</span> will be next on
<spanclass="dt-start"><spanclass="value">2017-05-31</span>, from
<spanclass="value">19:00</span> (UTC<spanclass="value">+02:00</span>)
</span> to <spanclass="dt-end">21:00</span>.</div>
[…] the parser assembles the overall datetime value by concatenating the specific date, " " (space character) and specific time (if time was specified, with 00 minutes implied if no minutes are provided), and specific timezone (if timezone and a specific time was specified)
Instead the timezone is dropped:
"start": [ "2017-05-31 19:00" ]
The text was updated successfully, but these errors were encountered:
(See also microformats/php-mf2#126 for the same bug in php-mf2)
The following snippet has date, time and timezone offset in three different elements, using the value-class-pattern.
I would have expected a value of
2017-05-31 19:00+02:00
forstart
, per http://microformats.org/wiki/value-class-pattern#Date_and_time_parsingInstead the timezone is dropped:
The text was updated successfully, but these errors were encountered: