mde / timezone-js

DEPRECATED: Timezone-enabled JavaScript Date object. Uses Olson zoneinfo files for timezone data.
824 stars 182 forks source link

"null" in timezoneJS.timezone.getAllZones() results #1

Closed mlowicki closed 12 years ago

mlowicki commented 14 years ago

This is how I initialize lib:

timezoneJS.timezone.zoneFileBasePath = "tzdata"; timezoneJS.timezone.defaultZoneFile = ["africa", "antarctica", "asia", "australasia", "europe", "northamerica", "southamerica"];

timezoneJS.timezone.init();

And now when I run:

timezoneJS.timezone.getAllZones() last position in the returned array is "null" string.

longlho commented 12 years ago

async w/ callback for multiple zone files is not supported yet.