Skip to content

Commit

Permalink
Merge pull request #40 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 6e83746 + e7b237a commit e4338f7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion jqClock-lite.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,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
30 changes: 15 additions & 15 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 e4338f7

Please sign in to comment.