Fixed export-function signature being scrambled.

This commit is contained in:
Fluency 2021-11-17 16:02:31 -08:00 committed by GitHub
parent f55350bebc
commit a2de9e4e36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {