File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -169,10 +169,7 @@ a-drawer.settings-drawer(
169169 const timezoneOptions = computed (() => {
170170 const opts: { label: string ; value: string }[] = [{ label: ' UTC' , value: ' UTC' }]
171171 for (let h = - 12 ; h <= 14 ; h += 1 ) {
172- if (h === 0 ) {
173- // Skip UTC offset zero since we already include 'UTC'
174- // and we prefer users to pick the canonical 'UTC'
175- } else {
172+ if (h !== 0 ) {
176173 const sign = h > 0 ? ' +' : ' -'
177174 const abs = Math .abs (h )
178175 const label = ` UTC${sign }${abs } `
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ a-trigger#time-select(
1111 template( #icon )
1212 svg.icon-16
1313 use( href ="#time" )
14- div( style ="display: flex; align-items: center; gap: 4px; justify-content: " )
14+ div( style ="display: flex; align-items: center; gap: 4px" )
1515 div( v-if ="isRelative" ) {{ relativeTimeMap[timeLength] || props.emptyStr }}
16- |
16+
1717 div( v-else )
1818 | {{ absoluteTimeLabel }}
1919 .timezone {{ timezoneLabel }}
You can’t perform that action at this time.
0 commit comments