Fixed export-function signature being scrambled.

pull/934/head
Fluency 3 years ago committed by GitHub
parent f55350bebc
commit a2de9e4e36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save