summaryrefslogtreecommitdiff
path: root/http/utility.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'http/utility.hpp')
-rw-r--r--http/utility.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/http/utility.hpp b/http/utility.hpp
index d1410566c3..033755e273 100644
--- a/http/utility.hpp
+++ b/http/utility.hpp
@@ -584,7 +584,7 @@ inline std::string getDateTime(boost::posix_time::seconds secondsSinceEpoch)
boost::posix_time::ptime epoch(boost::gregorian::date(1970, 1, 1));
boost::posix_time::ptime time = epoch + secondsSinceEpoch;
// append zero offset to the end according to the Redfish spec for Date-Time
- return boost::posix_time::to_iso_extended_string(time) + 'Z';
+ return boost::posix_time::to_iso_extended_string(time) + "+00:00";
}
inline std::string getDateTimeUint(uint64_t secondsSinceEpoch)