mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 10:01:59 +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,
|
"extractCss": true,
|
||||||
"namedChunks": false,
|
"namedChunks": false,
|
||||||
"aot": true,
|
"aot": true,
|
||||||
|
"progress": false,
|
||||||
"extractLicenses": true,
|
"extractLicenses": true,
|
||||||
"vendorChunk": false,
|
"vendorChunk": false,
|
||||||
"buildOptimizer": true,
|
"buildOptimizer": true,
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
"start": "ng serve",
|
"start": "ng serve",
|
||||||
"sync:build": "sh scripts/build-ionic.sh",
|
"sync:build": "sh scripts/build-ionic.sh",
|
||||||
"sync": "sh scripts/sync.sh",
|
"sync": "sh scripts/sync.sh",
|
||||||
"build": "ng build --prod",
|
"build": "ng build --prod --no-progress",
|
||||||
"test": "ng e2e --prod",
|
"test": "ng e2e --prod",
|
||||||
"lint": "ng lint",
|
"lint": "ng lint",
|
||||||
"postinstall": "npm run sync"
|
"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
|
// ISO 8601 format: 1994-12-15T13:47:20Z
|
||||||
let parse: any[] | null = null;
|
let parse: any[] | null = null;
|
||||||
|
|
||||||
if (val) {
|
if (val != null && val !== '') {
|
||||||
// try parsing for just time first, HH:MM
|
// try parsing for just time first, HH:MM
|
||||||
parse = TIME_REGEXP.exec(val);
|
parse = TIME_REGEXP.exec(val);
|
||||||
if (parse) {
|
if (parse) {
|
||||||
|
Reference in New Issue
Block a user