Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update syntax blocks for Date #4255

Merged
merged 1 commit into from
Apr 19, 2021
Merged

Conversation

Elchi3
Copy link
Member

@Elchi3 Elchi3 commented Apr 19, 2021

@Elchi3 Elchi3 requested a review from a team as a code owner April 19, 2021 14:34
@Elchi3 Elchi3 requested review from sideshowbarker and removed request for a team April 19, 2021 14:34
@github-actions
Copy link
Contributor

Preview URLs

Flaws

URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCHours
Title: Date.prototype.setUTCHours()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCMilliseconds
Title: Date.prototype.getUTCMilliseconds()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setSeconds
Title: Date.prototype.setSeconds()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTime
Title: Date.prototype.getTime()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getDate
Title: Date.prototype.getDate()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/valueOf
Title: Date.prototype.valueOf()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCMilliseconds
Title: Date.prototype.setUTCMilliseconds()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setDate
Title: Date.prototype.setDate()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setTime
Title: Date.prototype.setTime()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getSeconds
Title: Date.prototype.getSeconds()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setYear
Title: Date.prototype.setYear()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/now
Title: Date.now()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCMinutes
Title: Date.prototype.getUTCMinutes()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toDateString
Title: Date.prototype.toDateString()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setFullYear
Title: Date.prototype.setFullYear()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getMonth
Title: Date.prototype.getMonth()
on GitHub
Flaw count: 1

  • broken_links:
    • Can't resolve /en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat#Using_options

URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCFullYear
Title: Date.prototype.setUTCFullYear()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setMonth
Title: Date.prototype.setMonth()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toUTCString
Title: Date.prototype.toUTCString()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCSeconds
Title: Date.prototype.setUTCSeconds()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCDate
Title: Date.prototype.getUTCDate()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setMinutes
Title: Date.prototype.setMinutes()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getMinutes
Title: Date.prototype.getMinutes()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString
Title: Date.prototype.toLocaleDateString()
on GitHub
Flaw count: 3

  • macros:
    • /en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat redirects to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat
    • /en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat/format redirects to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/format
    • /en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat redirects to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat

URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCHours
Title: Date.prototype.getUTCHours()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toString
Title: Date.prototype.toString()
on GitHub
Flaw count: 2

  • macros:
    • /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/prototype redirects to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
    • /en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/prototype redirects to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Object

URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleTimeString
Title: Date.prototype.toLocaleTimeString()
on GitHub
Flaw count: 3

  • macros:
    • /en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat redirects to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat
    • /en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat/format redirects to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/format
    • /en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat redirects to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat

URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toGMTString
Title: Date.prototype.toGMTString()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getDay
Title: Date.prototype.getDay()
on GitHub
Flaw count: 1

  • macros:
    • /en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat redirects to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat

URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCFullYear
Title: Date.prototype.getUTCFullYear()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCMonth
Title: Date.prototype.getUTCMonth()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getYear
Title: Date.prototype.getYear()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCDate
Title: Date.prototype.setUTCDate()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString
Title: Date.prototype.toLocaleString()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toTimeString
Title: Date.prototype.toTimeString()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCDay
Title: Date.prototype.getUTCDay()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getHours
Title: Date.prototype.getHours()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTimezoneOffset
Title: Date.prototype.getTimezoneOffset()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setHours
Title: Date.prototype.setHours()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setMilliseconds
Title: Date.prototype.setMilliseconds()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/Date
Title: Date() constructor
on GitHub
Flaw count: 2

  • macros:
    • /en-US/docs/Web/JavaScript/Reference/new does not exist
  • broken_links:
    • Anchor not lowercase

URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCMinutes
Title: Date.prototype.setUTCMinutes()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString
Title: Date.prototype.toISOString()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCMonth
Title: Date.prototype.setUTCMonth()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/UTC
Title: Date.UTC()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getFullYear
Title: Date.prototype.getFullYear()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getMilliseconds
Title: Date.prototype.getMilliseconds()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCSeconds
Title: Date.prototype.getUTCSeconds()
on GitHub

No flaws! 🎉


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toJSON
Title: Date.prototype.toJSON()
on GitHub

No flaws! 🎉

External URLs

URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCHours
Title: Date.prototype.setUTCHours()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCMilliseconds
Title: Date.prototype.getUTCMilliseconds()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setSeconds
Title: Date.prototype.setSeconds()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTime
Title: Date.prototype.getTime()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getDate
Title: Date.prototype.getDate()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/valueOf
Title: Date.prototype.valueOf()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCMilliseconds
Title: Date.prototype.setUTCMilliseconds()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setDate
Title: Date.prototype.setDate()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setTime
Title: Date.prototype.setTime()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getSeconds
Title: Date.prototype.getSeconds()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setYear
Title: Date.prototype.setYear()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/now
Title: Date.now()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCMinutes
Title: Date.prototype.getUTCMinutes()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toDateString
Title: Date.prototype.toDateString()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setFullYear
Title: Date.prototype.setFullYear()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getMonth
Title: Date.prototype.getMonth()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCFullYear
Title: Date.prototype.setUTCFullYear()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setMonth
Title: Date.prototype.setMonth()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toUTCString
Title: Date.prototype.toUTCString()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCSeconds
Title: Date.prototype.setUTCSeconds()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCDate
Title: Date.prototype.getUTCDate()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setMinutes
Title: Date.prototype.setMinutes()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getMinutes
Title: Date.prototype.getMinutes()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString
Title: Date.prototype.toLocaleDateString()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCHours
Title: Date.prototype.getUTCHours()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toString
Title: Date.prototype.toString()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleTimeString
Title: Date.prototype.toLocaleTimeString()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toGMTString
Title: Date.prototype.toGMTString()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getDay
Title: Date.prototype.getDay()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCFullYear
Title: Date.prototype.getUTCFullYear()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCMonth
Title: Date.prototype.getUTCMonth()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getYear
Title: Date.prototype.getYear()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCDate
Title: Date.prototype.setUTCDate()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleString
Title: Date.prototype.toLocaleString()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toTimeString
Title: Date.prototype.toTimeString()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCDay
Title: Date.prototype.getUTCDay()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getHours
Title: Date.prototype.getHours()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTimezoneOffset
Title: Date.prototype.getTimezoneOffset()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setHours
Title: Date.prototype.setHours()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setMilliseconds
Title: Date.prototype.setMilliseconds()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/Date
Title: Date() constructor
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCMinutes
Title: Date.prototype.setUTCMinutes()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString
Title: Date.prototype.toISOString()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/setUTCMonth
Title: Date.prototype.setUTCMonth()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/UTC
Title: Date.UTC()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getFullYear
Title: Date.prototype.getFullYear()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getMilliseconds
Title: Date.prototype.getMilliseconds()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getUTCSeconds
Title: Date.prototype.getUTCSeconds()
on GitHub


URL: /en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toJSON
Title: Date.prototype.toJSON()
on GitHub

@sideshowbarker sideshowbarker merged commit 528c5c9 into mdn:main Apr 19, 2021
@Elchi3 Elchi3 deleted the syntax-update-date branch April 19, 2021 17:17
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants