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

Timezone Calculation Incorrect for Indian cities #1

Open
nsgtech opened this issue Feb 17, 2025 · 2 comments
Open

Timezone Calculation Incorrect for Indian cities #1

nsgtech opened this issue Feb 17, 2025 · 2 comments

Comments

@nsgtech
Copy link

nsgtech commented Feb 17, 2025

I have encountered an issue where the timezone for Indian cities is not calculated correctly. The expected timezone should be Asia/Kolkata with an offset of +5:30, but its returning +5:00 which is incorrect result.

@teal33t
Copy link
Owner

teal33t commented Feb 21, 2025

Hi @nsgtech , I did checked the calculations, May you please send your api calling and what result you have?
Look at this:

Image

Lat and Long of input is for Kolkota and the Timezone is set to Asia/Kolkata

@teal33t
Copy link
Owner

teal33t commented Feb 21, 2025

Try this and let me know what you recieved:

curl -X 'GET' \ 'http://localhost:8000/api/calculate?latitude=22.572645&longitude=88.363892&year=2023&month=12&day=25&hour=12&min=0&sec=0&time_zone=Asia%2FKolkata&dst_hour=0&dst_min=0&nesting=0&varga=D1%2CD9&infolevel=basic%2Cpanchanga%2Ctransit' \ -H 'accept: application/json'

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

2 participants