timezone-js-ts
Advanced tools
Comparing version 1.1.11 to 1.1.12
@@ -25,8 +25,7 @@ const fs = require('fs'); | ||
function getAllZones() { | ||
// const actualPath = path.resolve(__dirname, './all_timezone_lists.json'); | ||
// const data = fs.readFileSync(actualPath, 'utf-8'); | ||
// return data; | ||
return "Package's functions is on development process"; | ||
const actualPath = path.resolve(__dirname, './all_timezone_lists.json'); | ||
const data = fs.readFileSync(actualPath, 'utf-8'); | ||
return data; | ||
} | ||
module.exports = { getCurrentTime, getAllZones }; |
{ | ||
"name": "timezone-js-ts", | ||
"version": "1.1.11", | ||
"version": "1.1.12", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
14757
671