Skip to content

Commit

Permalink
HPCC-31616 Only standard timestamp format (remove use of timestamp wi…
Browse files Browse the repository at this point in the history
…th space separator)

Signed-off-by: Shamser Ahmed <[email protected]>
  • Loading branch information
shamser committed Apr 22, 2024
1 parent aa773e3 commit 29b8b9e
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions esp/services/ws_fs/ws_fsService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -331,19 +331,13 @@ static void DeepAssign(IEspContext &context, IConstDFUWorkUnit *src, IEspDFUWork
dest.setStateMessage(statemsg.str());

CDateTime startAt;
CDateTime stoppAt;
CDateTime stopAt;
prog->getTimeStarted(startAt);
prog->getTimeStopped(stoppAt);
prog->getTimeStopped(stopAt);

StringBuffer tmpstr;
startAt.getDateString(tmpstr);
tmpstr.append(" ");
startAt.getTimeString(tmpstr);
dest.setTimeStarted(tmpstr.str());
tmpstr.clear();
stoppAt.getDateString(tmpstr);
tmpstr.append(" ");
stoppAt.getTimeString(tmpstr);
dest.setTimeStopped(tmpstr.str());
dest.setTimeStarted(startAt.getString(tmpstr).str());
dest.setTimeStopped(stopAt.getString(tmpstr.clear()).str());

StringBuffer prgmsg;
prog->formatProgressMessage(prgmsg);
Expand Down

0 comments on commit 29b8b9e

Please sign in to comment.