test(angular): no-progress CI

This commit is contained in:
Manu Mtz.-Almeida
2018-12-05 21:42:17 +01:00
committed by Manu MA
parent 7698c31790
commit 945dd2610b
3 changed files with 3 additions and 2 deletions

View File

@ -41,6 +41,7 @@
"extractCss": true,
"namedChunks": false,
"aot": true,
"progress": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,

View File

@ -6,7 +6,7 @@
"start": "ng serve",
"sync:build": "sh scripts/build-ionic.sh",
"sync": "sh scripts/sync.sh",
"build": "ng build --prod",
"build": "ng build --prod --no-progress",
"test": "ng e2e --prod",
"lint": "ng lint",
"postinstall": "npm run sync"

View File

@ -178,7 +178,7 @@ export function parseDate(val: string | undefined | null): DatetimeData | undefi
// ISO 8601 format: 1994-12-15T13:47:20Z
let parse: any[] | null = null;
if (val) {
if (val != null && val !== '') {
// try parsing for just time first, HH:MM
parse = TIME_REGEXP.exec(val);
if (parse) {