Skip to content

Use ip-api.com to fetch timezone offsets more accurately? #175

@scottchiefbaker

Description

@scottchiefbaker

I've had really good luck using ip-api.com to fetch timezone offsets. They offer simple newline support:

# Get the TZ offset for the requesting IP
curl http://ip-api.com/line/?fields=offset

Or full featured JSON if needed as well:

# Get information about the requesting IP
curl http://ip-api.com/json/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions