Skip to content

Commit

Permalink
always read date after time
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Jan 13, 2020
1 parent 7d59f0e commit 823c8d9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/eez/gui/action_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1166,8 +1166,7 @@ void action_dlog_start_recording() {

if (isStringEmpty(dlog_record::g_guiParameters.filePath)) {
uint8_t year, month, day, hour, minute, second;
datetime::getDate(year, month, day);
datetime::getTime(hour, minute, second);
datetime::getDateTime(year, month, day, hour, minute, second);
sprintf(filePath, "%s/%s%d_%02d_%02d-%02d_%02d_%02d.dlog",
RECORDINGS_DIR,
dlog_record::g_guiParameters.filePath,
Expand Down

0 comments on commit 823c8d9

Please sign in to comment.