Skip to content

ringsaturn/redizone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: