Skip to content

Commit

Permalink
Tweak code style and minify
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonjs committed May 25, 2023
1 parent 67c02b5 commit 5275347
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 51 deletions.
10 changes: 5 additions & 5 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ Along with this the API has been unified and cleaned up. `strftimeTZ`, `strftime

```JavaScript
var strftime = require('strftime'); // not required in web browsers

var strftimeIT = strftime.localize(anItalianLocale);
var strftimePST = strftime.timezone('-0800');
var strftimeUTC = strftime.utc();

// You can combine them
var strftimeIT_PST = strftimeIT.timezone('-0800');

// And chain them all at once
var strftimeIT_PST = strftime.localize(anItalianLocale).timezone('-0800');
```
Expand Down Expand Up @@ -212,7 +212,7 @@ v0.4.5 on 2011-06-08

v0.4.4 on 2011-06-07
--------------------

- fix `%L` for values < 100

- convert tests from CoffeeScript to JavaScript
Expand All @@ -232,7 +232,7 @@ This release was all [Andrew Schaaf](https://github.com/andrewschaaf).
v0.4.2 on 2011-06-05
--------------------

- add `strftimeUTC` for ignoring timezones
- add `strftimeUTC` for ignoring timezones
Thanks to [Andrew Schaaf](https://github.com/andrewschaaf)

- support exporting to the top level object in ES5 strict mode
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ minify: real-minify test-minified

real-minify: strftime.js
rm -f strftime-min.js
closure <strftime.js >|strftime-min.js
closure-compiler <strftime.js >|strftime-min.js

test:
TZ=America/Vancouver node test.js
Expand Down
1 change: 0 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,4 +205,3 @@ License
Copyright 2010 - 2021 Sami Samhuri sami@samhuri.net

[MIT license](https://sjs.mit-license.org)

Loading

0 comments on commit 5275347

Please sign in to comment.