rxaviers

Member since
rxaviers

Recent Docs Activity

View all activity
Page Date Comment

Intl.DateTimeFormat.prototype.resolvedOptions()


Firefox 53 suppors computed timeZone (i.e., new Intl.DateTimeFormat().resolvedOptions().timeZone returns a string with runtime time zone id). NOTE: That feature could have been introduced before 53. It needs check

Intl.DateTimeFormat.prototype.formatToParts()


Update the examples for a `literal` part token. For example, try fmt = Intl.DateTimeFormat('pt', {day: 'numeric', month: 'long'}).formatToParts(new Date())