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)
Not so much a bug as a missing feature. There is no code to handle timezones separate from the timestamp (<span class="value">19:00+02:00</span> is accepted).
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 completely dropped: http://pin13.net/mf2/?id=20170529135806714
The text was updated successfully, but these errors were encountered: