Load time zone into radar site

This commit is contained in:
Dan Paulat 2024-03-28 00:03:00 -05:00
parent 547c68f1a3
commit f719fcbc06
3 changed files with 51 additions and 18 deletions

View file

@ -1,5 +1,7 @@
#pragma once
#include <scwx/util/time.hpp>
#include <memory>
#include <optional>
#include <string>
@ -35,6 +37,9 @@ public:
std::string state() const;
std::string place() const;
std::string location_name() const;
std::string tz_name() const;
const scwx::util::time_zone* time_zone() const;
static std::shared_ptr<RadarSite> Get(const std::string& id);
static std::vector<std::shared_ptr<RadarSite>> GetAll();