mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 02:52:11 +01:00
Github firmware updates #171
This commit is contained in:
parent
b91c54d377
commit
a9325eeca5
23 changed files with 922 additions and 78 deletions
4
Utils.h
4
Utils.h
|
|
@ -59,6 +59,10 @@ class Timestamp {
|
|||
char * getISOTime(time_t epoch);
|
||||
char * formatISO(struct tm *dt, int tz);
|
||||
int tzOffset();
|
||||
static time_t parseUTCTime(const char *buff);
|
||||
static time_t mkUTCTime(struct tm *dt);
|
||||
static int calcTZOffset(time_t *dt);
|
||||
static time_t now();
|
||||
};
|
||||
// Sort an array
|
||||
template<typename AnyType> void sortArray(AnyType array[], size_t sizeOfArray);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue