Skip to content

Commit

Permalink
Merge branch 'master' of github.com:JohnRDOrazio/jQuery-Clock-Plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed Mar 18, 2024
2 parents 7e7ccf9 + 8caf434 commit 6e83746
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 17 deletions.
2 changes: 1 addition & 1 deletion jqClock-lite.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ if (!Number.prototype.map) {
"T": ( clk ) => new Intl.DateTimeFormat( clk.myoptions.locale, {
timeZone: clk.myoptions.timezone,
timeZoneName: "short"
} ).format( clk.mytimestamp_sysdiff ),
} ).formatToParts( clk.mytimestamp_sysdiff ).filter(e => e.type === 'timeZoneName')[0].value,
//Timezone offset in seconds. The offset for timezones west of UTC is always negative, and for those east of UTC is always positive.
"Z": ( clk ) => clk.tzS < 0
? "" + Math.abs(clk.tzS)
Expand Down
4 changes: 2 additions & 2 deletions jqClock-lite.min.js

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

Loading

0 comments on commit 6e83746

Please sign in to comment.