Skip to content

Commit

Permalink
using single quotes everywhere for consistency sake
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Giammarchi committed Aug 27, 2018
1 parent ce7f16d commit d0956af
Show file tree
Hide file tree
Showing 10 changed files with 54 additions and 54 deletions.
2 changes: 1 addition & 1 deletion coverage/lcov-report/cjs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ <h1>
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Mon Aug 27 2018 09:41:09 GMT+0200 (CEST)
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Mon Aug 27 2018 09:44:45 GMT+0200 (CEST)
</div>
</div>
<script src="../prettify.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/cjs/index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ <h1>
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Mon Aug 27 2018 09:41:09 GMT+0200 (CEST)
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Mon Aug 27 2018 09:44:45 GMT+0200 (CEST)
</div>
</div>
<script src="../prettify.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ <h1>
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
Code coverage
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Mon Aug 27 2018 09:41:09 GMT+0200 (CEST)
generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Mon Aug 27 2018 09:44:45 GMT+0200 (CEST)
</div>
</div>
<script src="prettify.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions holidays/.example/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ var utils = require('../utils');
// the holiday won't be shown / considered.
module.exports = {
national: [
"01-01", // will be new Date("YYYY-01-01")
'01-01', // will be new Date("YYYY-01-01")
function (YYYY) { // will also be new Date("YYYY-01-01")
return new Date(YYYY + '-01-01');
}
],
regional: [
"12-31" // same as national
'12-31' // same as national
]
};
22 changes: 11 additions & 11 deletions holidays/de/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@ var easter = utils.easter;

module.exports = {
national: [
"01-01",
'01-01',
utils.before(2, easter),
utils.after(1, easter),
"05-01",
'05-01',
utils.ascension,
utils.pentecostMonday,
"10-03",
"12-25",
"12-26"
'10-03',
'12-25',
'12-26'
],
regional: [
"01-06",
'01-06',
utils.corpusChristi,
"08-15",
"10-22",
"10-31",
"11-01",
"11-21"
'08-15',
'10-22',
'10-31',
'11-01',
'11-21'
]
};
6 changes: 3 additions & 3 deletions holidays/gb/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ var easter = utils.easter;

module.exports = {
national: [
"01-01",
'01-01',
utils.before(2, easter),
easter,
utils.after('Monday', '05-01'),
utils.before('Monday', '05-31'),
"12-25",
"12-26"
'12-25',
'12-26'
],
regional: [
'01-02',
Expand Down
10 changes: 5 additions & 5 deletions holidays/in/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

module.exports = {
national: [
"01-26",
"04-14",
"08-15",
"10-02",
"12-25"
'01-26',
'04-14',
'08-15',
'10-02',
'12-25'
],
regional: []
};
40 changes: 20 additions & 20 deletions holidays/it/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,29 @@ var easter = utils.easter;

module.exports = {
national: [
"01-01", // New Year
"01-06", // Epiphany
'01-01', // New Year
'01-06', // Epiphany
easter, // Pasqua
utils.after(1, easter), // Pasquetta
"04-25", // End of WW2
"05-01", // Labour Day
"06-02", // Republic
"08-15", // Assumption of Mary
"11-01", // All saints
"12-08", // Immacolata Concezione
"12-25", // Christmas
"12-26" // St. Stefano
'04-25', // End of WW2
'05-01', // Labour Day
'06-02', // Republic
'08-15', // Assumption of Mary
'11-01', // All saints
'12-08', // Immacolata Concezione
'12-25', // Christmas
'12-26' // St. Stefano
],
regional: [
"04-28", // Sardinia
"05-04", // Ancona
"06-24", // Florence, Genoa, Turin
"06-29", // Rome
"07-15", // Palermo
"09-19", // Naples
"10-04", // Bologna
"11-02", // Trieste
"12-06", // Bari
"12-07" // Milan
'04-28', // Sardinia
'05-04', // Ancona
'06-24', // Florence, Genoa, Turin
'06-29', // Rome
'07-15', // Palermo
'09-19', // Naples
'10-04', // Bologna
'11-02', // Trieste
'12-06', // Bari
'12-07' // Milan
]
};
18 changes: 9 additions & 9 deletions holidays/pl/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ var easter = utils.easter;

module.exports = {
national: [
"01-01",
"01-06",
'01-01',
'01-06',
easter, // Wielkanoc
utils.after(1, easter), // Poniedziałek Wielkanocny
"05-01",
"05-03",
'05-01',
'05-03',
utils.pentecost, // Zielone Świątki
utils.corpusChristi, // Boże Ciało
"08-15",
"11-01",
"11-11",
"12-25",
"12-26"
'08-15',
'11-01',
'11-11',
'12-25',
'12-26'
],
regional: []
};
2 changes: 1 addition & 1 deletion holidays/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function corpusChristi(Y) {
}

function easter(Y) {
var date = new Date(Y + "-04-01");
var date = new Date(Y + '-04-01');
var a = Y % 19;
var b = Y % 4;
var c = Y % 7;
Expand Down

0 comments on commit d0956af

Please sign in to comment.