mde / timezone-js

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

Only default timezones are preloaded even with PRELOAD_ALL enabled #18

Closed itsuryev closed 12 years ago

itsuryev commented 12 years ago

Consider the following code:

timezoneJS.timezone.zoneFileBasePath = 'tz/';
timezoneJS.timezone.loadingScheme = timezoneJS.timezone.loadingSchemes.PRELOAD_ALL;
timezoneJS.timezone.init();

I would expect it to load all the timezones from the start but it loads only "northamerica". Am I missing something? There is a workaround of course - simply include all the zones in the defaultZoneFile.

longlho commented 12 years ago

fixed in 83992b00