Simple time management w/o the Network interface
Diff: TimeInterface.h
- Revision:
- 1:b78c91e34eda
- Parent:
- 0:e8e62dfee5eb
--- a/TimeInterface.h Fri Oct 11 20:53:30 2019 +0000 +++ b/TimeInterface.h Thu Apr 30 14:38:57 2020 +0000 @@ -417,7 +417,7 @@ /// have been defined. /// - %% Replaced by %. /// - const char * strptime(const char *buf, char *fmt, struct tm_ex *tm); + const char * strptime(const char *buf, const char *fmt, struct tm_ex *tm); // time zone functions @@ -586,7 +586,7 @@ dst_event_pair_t dst_pair; bool dst; // true in dst mode - char result[30]; // holds the converted to text time string + char result[33]; // holds the converted to text time string time_t tresult; // holds the converted time structure. struct tm_ex tm_ext; };