question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Plugin only works with TIME elements; should only require @datetime=ISO8601

See original GitHub issue

Project website docs imply that the plugin will work as long as a datetime attribute is present with an ISO 8601 date, but in Chrome 51.0.2679.0 (Official Build) dev (64-bit), the plugin fails to replace the text UNLESS a <time> element is used. <span> doesn’t work, for example. (Oddly, the plugin does set the @title attr, it just doesn’t replace the value.) I spent a bunch of time trying to “debug” my code because I misunderstood the plugin’s strong preference for <time> and <abbr> elements.

repro: http://codepen.io/jm3/pen/ZWLOoj

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
rmm5tcommented, May 16, 2019

@mastef Looks great! Simple and to the point!

Thank you!

0reactions
mastefcommented, May 16, 2019

Ok @rmm5t - made a PR with 2 changes for the readme.markdown and the index.html in #353

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to display a date as iso 8601 format with PHP
You're right that DateTime() allows for a higher resolution, but it doesn't help you unless you're using a custom 8601 format with higher...
Read more >
DateTime::Format::ISO8601 - MetaCPAN
A DateTime object that will be used to fill in missing information from incomplete date/time formats. This key is optional. cut_off_year. A integer...
Read more >
Datetime string must match ISO 8601 format. Can't figure it out.
Solved: Unable to process template language expressions for action 'Condition' at line '1' and column '17747': 'In function 'formatDateTime', the.
Read more >
ion-datetime
Datetimes present a picker interface to select dates and times. Ionic's API Datetime input component easily displays a preferred format, and manages values....
Read more >
ISO8601 Date Time - No Magic Documentation
Description. A date and time specified in the ISO8601 date-time format including timezone designator (TZD): YYYY-MM-DDThh:mm:ssTZD.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found