Skip to content

Commit 1e89269

Browse files
committed
fix(datetime): document time-zone-name attribute
1 parent a6b00ee commit 1e89269

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

.changeset/real-kids-act.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@patternfly/pfe-datetime": patch
3+
---
4+
5+
document `time-zone-name` attribute

elements/pfe-datetime/pfe-datetime.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,14 @@ const INTL_CONFIGS = Object.entries({
5050
/**
5151
* @summary Display dates and times in a consistent format
5252
*
53-
* @attr {'narrow'|'short'|'long'} weekday
53+
* @attr {'narrow'|'short'|'long'} weekday
5454
* @attr {'numeric'|'2-digit'|'narrow'|'short'|'long'} month
55-
* @attr {'numeric'|'2-digit'} day
56-
* @attr {'numeric'|'2-digit'} year
57-
* @attr {'numeric'|'2-digit'} hour
58-
* @attr {'numeric'|'2-digit'} minute
59-
* @attr {'numeric'|'2-digit'} second
55+
* @attr {'numeric'|'2-digit'} day
56+
* @attr {'numeric'|'2-digit'} year
57+
* @attr {'numeric'|'2-digit'} hour
58+
* @attr {'numeric'|'2-digit'} minute
59+
* @attr {'numeric'|'2-digit'} second
60+
* @attr {'short'|'long'} time-zone-name
6061
*/
6162
@customElement('pfe-datetime') @pfelement()
6263
export class PfeDatetime extends LitElement {

0 commit comments

Comments
 (0)