mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-12 16:36:38 +02:00
fix webserial is now in local timezone
This commit is contained in:
parent
72219cdf17
commit
a77bea55d0
6 changed files with 27 additions and 11 deletions
|
@ -21,6 +21,10 @@ class webApi {
|
|||
void setup(void);
|
||||
void loop(void);
|
||||
|
||||
uint32_t getTimezoneOffset() {
|
||||
return mTimezoneOffset;
|
||||
}
|
||||
|
||||
private:
|
||||
void onApi(AsyncWebServerRequest *request);
|
||||
void onApiPost(AsyncWebServerRequest *request);
|
||||
|
@ -59,6 +63,8 @@ class webApi {
|
|||
sysConfig_t *mSysCfg;
|
||||
statistics_t *mStat;
|
||||
char *mVersion;
|
||||
|
||||
uint32_t mTimezoneOffset;
|
||||
};
|
||||
|
||||
#endif /*__WEB_API_H__*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue