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: edge_utils/edge_time.h
- Revision:
- 8:5590f55bdf41
- Parent:
- 0:f0de320e23ac
diff -r aa858d789025 -r 5590f55bdf41 edge_utils/edge_time.h --- a/edge_utils/edge_time.h Thu Dec 07 01:06:46 2017 +0000 +++ b/edge_utils/edge_time.h Thu Dec 07 10:13:13 2017 +0000 @@ -10,10 +10,13 @@ void print_time(uint32_t thetime) ; void print_time(struct tm *tm) ; /* light version */ void print_date(struct tm *date) ; /* full version */ +void print_date_wd(struct tm *date) ; /* vull version with day of week */ void time2str(char *timestr) ; /* light version */ int32_t time2seq(uint32_t timestamp) ; /* hhmmss */ -void time2str(struct tm *tm, char *timestr) ; /* light version */ -void time2date(struct tm *tm, char *datestr) ; /* full version */ +void time2seq(uint32_t timestamp, char *timestr) ; +void time2str(struct tm *tm, char *timestr) ; /* hh:mm:ss */ +void time2date(struct tm *tm, char *datestr) ; /* YYYY/MM/DD hh:mm:ss */ +void time2date(struct tm *tm, char *datestr) ; /* full version with day of week */ extern const char *nameOfDay[] ; extern tm current_time ;