forked from paul/sinoptik
Service that provides today's weather forecast for air quality, rain and UV metrics.
This is useful if you want to prepare for going outside and need to know what happens in the near future or later today.
Paul van Tilburg
8d2717b392
This calculates which offset to use in the maps series with respect to the instant of caching. It assumes the first map is current for the instant it was retrieved. * Rename `*_first` to `*_at` methods * For convenience, change the types of `*_MAP_COUNT` to `u32` * Introduce `*_MAP_INTERVAL` constants to indicate the number of seconds each map in the series applies to * Return `None` if the provided instant is too far in the future |
||
---|---|---|
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml |