GUACAMOLE-422: Update timezone format comments in AngularJS component.

This commit is contained in:
Virtually Nick
2019-05-10 12:41:43 -04:00
parent b0698585f0
commit 3c1f64ec61

View File

@@ -104,8 +104,8 @@ angular.module('settings').provider('preferenceService', ['$injector',
* by the JSTZ timezone library. * by the JSTZ timezone library.
* *
* @returns String * @returns String
* The name of the currently-detected timezone in tz database * The name of the currently-detected timezone in IANA zone key
* format. * format (Olson time zone database).
*/ */
var getDetectedTimezone = function getDetectedTimezone() { var getDetectedTimezone = function getDetectedTimezone() {
return jstz.determine().name(); return jstz.determine().name();
@@ -143,7 +143,9 @@ angular.module('settings').provider('preferenceService', ['$injector',
language : getDefaultLanguageKey(), language : getDefaultLanguageKey(),
/** /**
* The timezone set by the uesr. * The timezone set by the user, in IANA zone key format (Olson time
* zone database).
*
* @type String * @type String
*/ */
timezone : getDetectedTimezone() timezone : getDetectedTimezone()