#timezone #latitude-longitude #redis #geo #server #convert #compatible

app redizone

Redis compatible server convert longitude and latitude to timezone name(s)

4 releases

0.1.5 Feb 2, 2025
0.1.4 Dec 30, 2023
0.1.2 Aug 21, 2023
0.1.0 Jun 23, 2023

#243 in Database interfaces

Download history 23/week @ 2024-12-07 118/week @ 2025-02-01 7/week @ 2025-02-08 6/week @ 2025-02-15

131 downloads per month

MIT license

9KB
56 lines

Redizone: Redis compatible server convert longitude and latitude to timezone name(s).

Build with tidwall/redcon.rs and ringsaturn/tzf-rs.

Install

Via cargo

cargo install redizone

Usage

$ redis-cli -p 6380
127.0.0.1:6380> get_tz 116.3883 39.9289
Asia/Shanghai
127.0.0.1:6380> get_tzs 116.3883 39.9289
1) "Asia/Shanghai"

See also:

Dependencies

~14MB
~65K SLoC