redizone

Crates.ioredizone
lib.rsredizone
version0.1.4
sourcesrc
created_at2023-06-23 08:12:10.403242
updated_at2023-12-30 10:50:28.5281
descriptionRedis compatible server convert longitude and latitude to timezone name(s).
homepagehttps://github.com/ringsaturn/redizone
repositoryhttps://github.com/ringsaturn/redizone
max_upload_size
id898093
size25,601
ringsaturn (ringsaturn)

documentation

README

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:

Commit count: 28

cargo fmt