Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: TimeInterface.h
- Revision:
- 1:b78c91e34eda
- Parent:
- 0:e8e62dfee5eb
diff -r e8e62dfee5eb -r b78c91e34eda TimeInterface.h
--- 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;
};