@agilecustoms/envctl 1.10.4 → 1.10.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/util.js +3 -2
  2. package/package.json +1 -1
package/dist/util.js CHANGED
@@ -1,6 +1,7 @@
1
- export function toLocalTime(ttl) {
1
+ export function toLocalTime(ttl, timeZone) {
2
2
  const date = new Date(ttl * 1000);
3
- return date.toLocaleString(undefined, {
3
+ return date.toLocaleString('en-US', {
4
+ timeZone,
4
5
  month: 'short',
5
6
  day: '2-digit',
6
7
  hour: '2-digit',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agilecustoms/envctl",
3
- "version": "1.10.4",
3
+ "version": "1.10.5",
4
4
  "description": "node.js CLI client for manage environments",
5
5
  "keywords": [
6
6
  "terraform wrapper",