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

docs and source disagree on babel.core.get_global('win_mapping') #463

Closed
ecederstrand opened this issue Jan 10, 2017 · 2 comments
Closed

Comments

@ecederstrand
Copy link

ecederstrand commented Jan 10, 2017

According to the docs (http://babel.pocoo.org/en/latest/api/core.html#utility-functions), I should do this to get the Windows timezone mapping:

babel.core.get_global('win_mapping')

but this collection is empty, and the actual mapping (using Babel 2.3.4 pip-installed on Ubuntu 14.04) is located at:

babel.core.get_global('windows_zone_mapping')

So, it seems either the source code or the documentation should be updated. See also #464

@abhishekcs10
Copy link
Contributor

I am new to open source. What needs to be done? Should I fix the documentation?

abhishekcs10 added a commit to abhishekcs10/babel that referenced this issue Jan 10, 2017
akx added a commit that referenced this issue Mar 10, 2017
@akx
Copy link
Member

akx commented Mar 10, 2017

Closed via #466. Thanks (and sorry for the delay).

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

No branches or pull requests

4 participants