fix: timezone issue
This commit is contained in:
parent
ad7a6028b3
commit
27cec1d8cc
10 changed files with 27 additions and 28 deletions
|
@ -14,6 +14,6 @@ period_t*
|
|||
period_create(uint16_t start, uint16_t end);
|
||||
|
||||
int
|
||||
period_includes_time(period_t *period, uint16_t timestamp);
|
||||
period_includes_time(period_t *period, struct tm *time_struct);
|
||||
|
||||
#endif /* CONTROLLER_PERIOD_H */
|
||||
|
|
|
@ -51,7 +51,7 @@ int
|
|||
relay_save(relay_t *relay, MDB_env *mdb_env);
|
||||
|
||||
int
|
||||
relay_is_active(relay_t *relay, time_t timestamp_now);
|
||||
relay_is_active(relay_t *relay, struct tm *time_struct);
|
||||
|
||||
void
|
||||
relay_free(relay_t *relay);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue