|
|
|
@ -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() {
|
|
|
|
|
export function timezoneList() {
|
|
|
|
|
let result = [];
|
|
|
|
|
|
|
|
|
|
for (let timezone of timezones) {
|
|
|
|
|