Mercurial > hg > orthanc
comparison OrthancServer/ServerIndexChange.h @ 2475:8cc3ca64a534
Orthanc now uses UTC (universal time) instead of local time in its database
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 19 Feb 2018 16:55:05 +0100 |
parents | 878b59270859 |
children | 4e43e67f8ecf |
comparison
equal
deleted
inserted
replaced
2474:0c57f40e2fbf | 2475:8cc3ca64a534 |
---|---|
57 const std::string& publicId) : | 57 const std::string& publicId) : |
58 seq_(-1), | 58 seq_(-1), |
59 changeType_(changeType), | 59 changeType_(changeType), |
60 resourceType_(resourceType), | 60 resourceType_(resourceType), |
61 publicId_(publicId), | 61 publicId_(publicId), |
62 date_(SystemToolbox::GetNowIsoString()) | 62 date_(SystemToolbox::GetNowIsoString(true /* use UTC time (not local time) */)) |
63 { | 63 { |
64 } | 64 } |
65 | 65 |
66 ServerIndexChange(int64_t seq, | 66 ServerIndexChange(int64_t seq, |
67 ChangeType changeType, | 67 ChangeType changeType, |