@opentermsarchive/engine 2.7.0 → 2.7.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentermsarchive/engine",
3
- "version": "2.7.0",
3
+ "version": "2.7.1",
4
4
  "description": "Tracks and makes visible changes to the terms of online services",
5
5
  "homepage": "https://opentermsarchive.org",
6
6
  "bugs": {
@@ -7,7 +7,7 @@ const { combine, timestamp, printf, colorize } = winston.format;
7
7
 
8
8
  logger.format = combine(
9
9
  colorize(),
10
- timestamp({ format: 'YYYY-MM-DDTHH:MM:SSZ' }),
10
+ timestamp({ format: 'YYYY-MM-DDTHH:mm:ssZ' }),
11
11
  printf(({ level, message, counter, hash, timestamp }) => {
12
12
  const prefix = counter && hash ? `${counter.toString().padEnd(6)} ${hash.padEnd(40)}` : '';
13
13
 
@@ -30,7 +30,7 @@ if (config.get('@opentermsarchive/engine.logger.sendMailOnError')) {
30
30
  const logger = winston.createLogger({
31
31
  format: combine(
32
32
  colorize(),
33
- timestamp({ format: 'YYYY-MM-DDTHH:MM:SSZ' }),
33
+ timestamp({ format: 'YYYY-MM-DDTHH:mm:ssZ' }),
34
34
  printf(({ level, message, timestamp }) => {
35
35
  const timestampPrefix = config.get('@opentermsarchive/engine.logger.timestampPrefix') ? `${timestamp} ` : '';
36
36
 
@@ -8,7 +8,7 @@ const { combine, timestamp, printf, colorize } = winston.format;
8
8
 
9
9
  const alignedWithColorsAndTime = combine(
10
10
  colorize(),
11
- timestamp({ format: 'YYYY-MM-DDTHH:MM:SSZ' }),
11
+ timestamp({ format: 'YYYY-MM-DDTHH:mm:ssZ' }),
12
12
  printf(({ level, message, timestamp, serviceId, termsType, documentId }) => {
13
13
  const servicePrefix = serviceId && termsType
14
14
  ? `${serviceId} — ${termsType}${documentId ? `:${documentId}` : ''}`