blob: 59c75bbe025317430e4deffebad47c43225a6c87 (
plain)
1
2
3
4
5
6
7
8
9
10
|
const { timezones } = require('./timezones.json');
module.exports = {
lookup (name) {
const casefolded = name.toLowerCase();
return timezones.find(it => it.code.toLowerCase() === casefolded);
},
timezones
};
|