@@ -56,26 +56,27 @@ So, a relative date phrase is used for up to a month and then the actual date is
5656
5757#### Attributes
5858
59- | Property Name | Attribute Name | Possible Values | Default Value |
60- | :------------- | :--------------- | :------------------------------------------------------------------------------------------ | :------------------------ |
61- | ` datetime ` | ` datetime ` | ` string ` | - |
62- | ` format ` | ` format ` | ` 'datetime'\|'relative'\|'duration' ` | ` 'auto' ` |
63- | ` date ` | - | ` Date \| null ` | - |
64- | ` tense ` | ` tense ` | ` 'auto'\|'past'\|'future' ` | ` 'auto' ` |
65- | ` precision ` | ` precision ` | ` 'year'\|'month'\|'day'\|'hour'\|'minute'\|'second' ` | ` 'second' ` |
66- | ` threshold ` | ` threshold ` | ` string ` | ` 'P30D' ` |
67- | ` prefix ` | ` prefix ` | ` string ` | ` 'on' ` |
68- | ` formatStyle ` | ` format-style ` | ` 'long'\|'short'\|'narrow' ` | <sup >\* </sup > |
69- | ` second ` | ` second ` | ` 'numeric'\|'2-digit'\|undefined ` | ` undefined ` |
70- | ` minute ` | ` minute ` | ` 'numeric'\|'2-digit'\|undefined ` | ` undefined ` |
71- | ` hour ` | ` hour ` | ` 'numeric'\|'2-digit'\|undefined ` | ` undefined ` |
72- | ` weekday ` | ` weekday ` | ` 'short'\|'long'\|'narrow'\|undefined ` | <sup >\*\* </sup > |
73- | ` day ` | ` day ` | ` 'numeric'\|'2-digit'\|undefined ` | ` 'numeric' ` |
74- | ` month ` | ` month ` | ` 'numeric'\|'2-digit'\|'short'\|'long'\|'narrow'\|undefined ` | <sup >\*\*\* </sup > |
75- | ` year ` | ` year ` | ` 'numeric'\|'2-digit'\|undefined ` | <sup >\*\*\*\* </sup > |
76- | ` timeZoneName ` | ` time-zone-name ` | ` 'long'\|'short'\|'shortOffset'\|'longOffset' ` ` \|'shortGeneric'\|'longGeneric'\|undefined ` | ` undefined ` |
77- | ` timeZone ` | ` time-zone ` | ` string\|undefined ` | Browser default time zone |
78- | ` noTitle ` | ` no-title ` | ` - ` | ` - ` |
59+ | Property Name | Attribute Name | Possible Values | Default Value |
60+ | :------------- | :--------------- | :------------------------------------------------------------------------------------------ | :------------------------------- |
61+ | ` datetime ` | ` datetime ` | ` string ` | - |
62+ | ` format ` | ` format ` | ` 'datetime'\|'relative'\|'duration' ` | ` 'auto' ` |
63+ | ` date ` | - | ` Date \| null ` | - |
64+ | ` tense ` | ` tense ` | ` 'auto'\|'past'\|'future' ` | ` 'auto' ` |
65+ | ` precision ` | ` precision ` | ` 'year'\|'month'\|'day'\|'hour'\|'minute'\|'second' ` | ` 'second' ` |
66+ | ` threshold ` | ` threshold ` | ` string ` | ` 'P30D' ` |
67+ | ` prefix ` | ` prefix ` | ` string ` | ` 'on' ` |
68+ | ` formatStyle ` | ` format-style ` | ` 'long'\|'short'\|'narrow' ` | <sup >\* </sup > |
69+ | ` second ` | ` second ` | ` 'numeric'\|'2-digit'\|undefined ` | ` undefined ` |
70+ | ` minute ` | ` minute ` | ` 'numeric'\|'2-digit'\|undefined ` | ` undefined ` |
71+ | ` hour ` | ` hour ` | ` 'numeric'\|'2-digit'\|undefined ` | ` undefined ` |
72+ | ` weekday ` | ` weekday ` | ` 'short'\|'long'\|'narrow'\|undefined ` | <sup >\*\* </sup > |
73+ | ` day ` | ` day ` | ` 'numeric'\|'2-digit'\|undefined ` | ` 'numeric' ` |
74+ | ` month ` | ` month ` | ` 'numeric'\|'2-digit'\|'short'\|'long'\|'narrow'\|undefined ` | <sup >\*\*\* </sup > |
75+ | ` year ` | ` year ` | ` 'numeric'\|'2-digit'\|undefined ` | <sup >\*\*\*\* </sup > |
76+ | ` timeZoneName ` | ` time-zone-name ` | ` 'long'\|'short'\|'shortOffset'\|'longOffset' ` ` \|'shortGeneric'\|'longGeneric'\|undefined ` | ` undefined ` |
77+ | ` timeZone ` | ` time-zone ` | ` string\|undefined ` | Browser default time zone |
78+ | ` hourCycle ` | ` hour-cycle ` | ` 'h11'\|'h12'\|'h23'\|'h24'\|undefined ` | 'h12' or 'h24' based on browser |
79+ | ` noTitle ` | ` no-title ` | ` - ` | ` - ` |
7980
8081<sup >\* </sup >: If unspecified, ` formatStyle ` will return ` 'narrow' ` if ` format ` is ` 'elapsed' ` or ` 'micro' ` , ` 'short' ` if the format is ` 'relative' ` or ` 'datetime' ` , otherwise it will be ` 'long' ` .
8182
0 commit comments