Comparing version 0.0.9 to 0.0.10
@@ -168,4 +168,2 @@ 'use strict'; | ||
const { localeStringCountry, localeStringTimezone, localeStringAbbrev } = this.options; | ||
const now = new Date(); | ||
@@ -176,4 +174,3 @@ | ||
timestamp: log.timestamp || now.getTime(), | ||
timestampISO: now.toISOString(), | ||
timestampReadable: log.timestampReadable || `${now.toLocaleString(localeStringCountry || 'en-US', { timeZone: localeStringTimezone || 'America/New_York' })} ${localeStringAbbrev || (localeStringTimezone ? '' : (this.isDstObserved ? 'EDT' : 'EST'))}` | ||
timestampISO: now.toISOString() // elasticsearch indexes target this as the time prop | ||
}; | ||
@@ -180,0 +177,0 @@ } |
{ | ||
"name": "kinene", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "wswoodruff", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7003
159