diff options
author | takeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp> | 2020-10-22 09:57:03 +0900 |
---|---|---|
committer | takeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp> | 2020-10-22 09:57:03 +0900 |
commit | c8ed80f86085e01bf262cba3fee3bc81bdf731d3 (patch) | |
tree | 11c87e818bd1c3c8792e7150f3f4e37edd1b98d7 /logger_service/server/src/loggerservicedebug_writer_Evntworker.cpp | |
parent | 91f5345046f18f406071befd62e0e05322a5a1de (diff) |
ss-loggerservice branch 0.1sandbox/ToshikazuOhiwa/ss-loggerservice
Diffstat (limited to 'logger_service/server/src/loggerservicedebug_writer_Evntworker.cpp')
-rw-r--r-- | logger_service/server/src/loggerservicedebug_writer_Evntworker.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/logger_service/server/src/loggerservicedebug_writer_Evntworker.cpp b/logger_service/server/src/loggerservicedebug_writer_Evntworker.cpp index 5c2ecb0a..5d29a58e 100644 --- a/logger_service/server/src/loggerservicedebug_writer_Evntworker.cpp +++ b/logger_service/server/src/loggerservicedebug_writer_Evntworker.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ #include <system_service/ss_logger_service_protocol.h> #include <system_service/ss_logger_service.h> #include <system_service/ss_templates.h> -//#include <vehicle_service/Clock_API.h> +#include <stub/Clock_API.h> #include <new> #include <utility> #include <string> @@ -934,8 +934,8 @@ PSTR _GetCurrentTimeString(PCHAR TempFileName, PSTR f_pstrVIN) { // LCOV_EXCL_ST std::string l_strVIN = f_pstrVIN; // Time string is based on current date and time. Time string format is <year-mon-dayThhmm>. -// Clock_getSystemTimeY2K38(&rawtime, &status); -// Clock_getLocalTimeY2K38(&rawtime, &local_time); + Clock_getSystemTimeY2K38(&rawtime, &status); + Clock_getLocalTimeY2K38(&rawtime, &local_time); if (0 != (l_len = static_cast<UI_8>(strftime(tbuf, sizeof(tbuf), "%Y-%m-%dT%H%M", &local_time)))) { |