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

Invalid GMT offsets for minutes #4

Open
talesid5 opened this issue Mar 17, 2020 · 0 comments
Open

Invalid GMT offsets for minutes #4

talesid5 opened this issue Mar 17, 2020 · 0 comments

Comments

@talesid5
Copy link

For round-off values, GMT is correct like for Pakistan its +5 so its ok, but for the areas with GMT offset with 30 minutes is invalid like in India GMT is acually +5:30 but its giving 5.
airports.find((airport) => airport.code === 'AMD') is giving:

{
  code: 'AMD',
  countryCode: 'IN',
  timezone: 'Asia/Kolkata',
  offset: { gmt: 5, dst: 5 }
}

whereas, it should be something like:
{..., offset: { gmt: '5:30', dst: '5:50' }} or {..., offset: { gmt: 5.5, dst: 5.5 }}

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

No branches or pull requests

1 participant