Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

לאתר זה תהיה פונקציונליות מוגבלת בזמן שאנו מתחזקים אותו לשיפור החוויה שלך. אם מאמר מסויים לא פותר את הבעיה שלך וברצונך לשאול שאלה, קהילת התמיכה שלנו מחכה לעזור לך ב־Twitter תחת ‎@FirefoxSupport וב־Reddit תחת ‎/r/firefox.

חיפוש בתמיכה

יש להימנע מהונאות תמיכה. לעולם לא נבקש ממך להתקשר או לשלוח הודעת טקסט למספר טלפון או לשתף מידע אישי. נא לדווח על כל פעילות חשודה באמצעות באפשרות ״דיווח על שימוש לרעה״.

מידע נוסף

<time> tag in HTML

more options

How does Firefox deal with the HTML <date> and <time> tags, especially <time> with datetime= attribute? Definitions of the tag say this about the datetime= attribute: "The datetime attribute of this element is used to translate the time into a machine-readable format so that browsers can offer to add date reminders through the user's calendar..." (ellipsis mine).

I don't see anything special happening with this tag when I open a web page that has them. There isn't anything done by Firefox that I can see, so I'm wondering if it just allows the tags but doesn't process them.

How does Firefox deal with the HTML <date> and <time> tags, especially <time> with datetime= attribute? Definitions of the tag say this about the datetime= attribute: "The datetime attribute of this element is used to translate the time into a machine-readable format so that browsers can offer to add date reminders through the user's calendar..." (ellipsis mine). I don't see anything special happening with this tag when I open a web page that has them. There isn't anything done by Firefox that I can see, so I'm wondering if it just allows the tags but doesn't process them.

כל התגובות (3)

more options

I'm not sure there is meant to be any visible change.

https://developer.mozilla.org/docs/Web/HTML/Element/time

more options

So, basically <time> (and <data>) are there to _provide_ machine-readable forms of the item, but Firefox does nothing to provide that data as an <a> tag to a file, let's say an iCalendar (.ics) file would do, which is to offer to open the file in a calendar program. They exist to allow other programs processing the html to use that data.

more options

Hi Tim, I didn't do any other research. Maybe if you follow the links in the article to the specification there might be more explanation or discussion about what they are intended to be used for.