mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 01:52:19 +08:00
test(angular): no-progress CI
This commit is contained in:

committed by
Manu MA

parent
7698c31790
commit
945dd2610b
@ -41,6 +41,7 @@
|
||||
"extractCss": true,
|
||||
"namedChunks": false,
|
||||
"aot": true,
|
||||
"progress": false,
|
||||
"extractLicenses": true,
|
||||
"vendorChunk": false,
|
||||
"buildOptimizer": true,
|
||||
|
@ -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"
|
||||
|
@ -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) {
|
||||
|
Reference in New Issue
Block a user