Closed TrevorBurnham closed 11 years ago
You can specify the timezoneJS.timezone.defaultZoneFile
. There've been request to expose getRegionForTimezone
so I think we can probably make it public. The other workaround would be to preload the tz yourself with new timezoneJS.Date
:)
Thanks for the response. I'd appreciate it if you'd make getRegionForTimezone
public, as using that to get the value I want to set for timezoneJS.timezone.defaultZoneFile
prior to init
seems like the most straightforward solution.
Published to NPM, v0.4.6.
Excellent. Thanks for making this change so quickly.
Suppose I only want to preload the zone file corresponding to the user's timezone, which I know at pageload. The problem is that I don't know which file that timezone corresponds to, and the
getRegionForTimezone
function isn't exposed. Is there a better way of solving this problem?