diff --git a/src/util-frontend.js b/src/util-frontend.js index dff6d679b..87cde3c43 100644 --- a/src/util-frontend.js +++ b/src/util-frontend.js @@ -24,14 +24,14 @@ function getTimezoneOffset(timeZone) { return -offset; } -export /** - * Returns a list of timezones sorted by their offset from UTC. - * @param {Array} timezones - An array of timezone objects. - * @returns {Array} A list of the given timezones sorted by their offset from UTC. - * - * Generated by Trelent - */ -function timezoneList() { +/** +* Returns a list of timezones sorted by their offset from UTC. +* @param {Array} timezones - An array of timezone objects. +* @returns {Array} A list of the given timezones sorted by their offset from UTC. +* +* Generated by Trelent +*/ +export function timezoneList() { let result = []; for (let timezone of timezones) {