ref(globalization): change utf_offset to utc_offset

fixes: #2015
This commit is contained in:
Daniel Sogl 2018-03-17 11:27:16 +01:00 committed by GitHub
parent a345e2c6f1
commit 1c27474776
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,7 +106,7 @@ export class Globalization extends IonicNativePlugin {
/**
* Returns a pattern string to format and parse dates according to the client's user preferences.
* @param options Object with the format length and selector
* @returns {Promise<{ pattern: string, timezone: string, utf_offset: number, dst_offset: number }>} Returns a promise.
* @returns {Promise<{ pattern: string, timezone: string, utc_offset: number, dst_offset: number }>} Returns a promise.
*/
@Cordova({
callbackOrder: 'reverse'
@ -117,7 +117,7 @@ export class Globalization extends IonicNativePlugin {
pattern: string;
timezone: string;
iana_timezone: string;
utf_offset: number;
utc_offset: number;
dst_offset: number;
}> {
return;