mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
@ -352,7 +352,7 @@ export function convertDataToISO(data: DateTimeData): string {
|
||||
rtn += '.' + threeDigit(data.millisecond);
|
||||
}
|
||||
|
||||
if (data.tzOffset === 0) {
|
||||
if (isBlank(data.tzOffset) || data.tzOffset === 0) {
|
||||
// YYYY-MM-DDTHH:mm:SSZ
|
||||
rtn += 'Z';
|
||||
|
||||
|
Reference in New Issue
Block a user