Skip to content

Commit

Permalink
Merge pull request #38 from JohnRDOrazio/generate-litejs-and-minify
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 9a67780 + 9fec966 commit 8caf434
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 8caf434

Please sign in to comment.