Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated data to IANA TZDB 2018c #577

Closed
wants to merge 1 commit into from
Closed

Updated data to IANA TZDB 2018c #577

wants to merge 1 commit into from

Conversation

ssskip
Copy link
Contributor

@ssskip ssskip commented Feb 11, 2018

testGuess break on:

  • America/Cancun - guess
  • America/Fort_Nelson - guess
  • America/Metlakatla - guess

@JohnColvin
Copy link

any word on when this will be merged? thanks!

@ssskip
Copy link
Contributor Author

ssskip commented Apr 3, 2018

@JohnColvin since 2018d (Released 2018-03-22), i need update this pull request then

@ellenaua
Copy link
Contributor

@ssskip do you have an idea how to fix failing tests? I see that when ts.guess() gets an equal score for multiple time zones, it's choosing zone which is more populated:

'America/Phoenix' scores = 0 0 population= 4200000
'America/Fort_Nelson' scores = 0 0 population= 3900

That's why instead of 'America/Fort_Nelson' tz.guess() returns 'America/Phoenix'. And the same happens for 'America/Metlakatla' ('America/Anchorage' is more populated) and 'America/Cancun' ('America/Panama' is more populated). Should we just change test expectations?

@ellenaua
Copy link
Contributor

I've done 2018d PR #596

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants