Skip to content

Commit

Permalink
Merge pull request #41 from JohnRDOrazio/update-gh-pages
Browse files Browse the repository at this point in the history
Changes by create-pull-request action
  • Loading branch information
JohnRDOrazio authored Mar 18, 2024
2 parents f85f320 + bd4db1c commit bfaf06b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jqClock.js
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ if (!Number.prototype.map) {
: "+00"
) + ":00",
//Timezone abbreviation
"T": ( clk ) => new Intl.DateTimeFormat( clk.myoptions.locale, {
"T": ( clk ) => /(UTC|GMT)\+/.test( clk.myoptions.timezone ) ? clk.myoptions.timezone : new Intl.DateTimeFormat( clk.myoptions.locale, {
timeZone: clk.myoptions.timezone,
timeZoneName: "short"
} ).formatToParts( clk.mytimestamp_sysdiff ).filter(e => e.type === 'timeZoneName')[0].value,
Expand Down
4 changes: 2 additions & 2 deletions jqClock.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bfaf06b

Please sign in to comment.