Skip to content

Commit 5275347

Browse files
committed
Tweak code style and minify
1 parent 67c02b5 commit 5275347

File tree

5 files changed

+48
-51
lines changed

5 files changed

+48
-51
lines changed

Changelog.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ Along with this the API has been unified and cleaned up. `strftimeTZ`, `strftime
6565

6666
```JavaScript
6767
var strftime = require('strftime'); // not required in web browsers
68-
68+
6969
var strftimeIT = strftime.localize(anItalianLocale);
7070
var strftimePST = strftime.timezone('-0800');
7171
var strftimeUTC = strftime.utc();
72-
72+
7373
// You can combine them
7474
var strftimeIT_PST = strftimeIT.timezone('-0800');
75-
75+
7676
// And chain them all at once
7777
var strftimeIT_PST = strftime.localize(anItalianLocale).timezone('-0800');
7878
```
@@ -212,7 +212,7 @@ v0.4.5 on 2011-06-08
212212

213213
v0.4.4 on 2011-06-07
214214
--------------------
215-
215+
216216
- fix `%L` for values < 100
217217

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

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

238238
- support exporting to the top level object in ES5 strict mode

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ minify: real-minify test-minified
22

33
real-minify: strftime.js
44
rm -f strftime-min.js
5-
closure <strftime.js >|strftime-min.js
5+
closure-compiler <strftime.js >|strftime-min.js
66

77
test:
88
TZ=America/Vancouver node test.js

Readme.md

-1
Original file line numberDiff line numberDiff line change
@@ -205,4 +205,3 @@ License
205205
Copyright 2010 - 2021 Sami Samhuri [email protected]
206206

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

0 commit comments

Comments
 (0)