summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-05-16 11:19:18 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2016-05-16 11:19:18 (GMT)
commit9a2c7bbfb0c53b4532db7280e6804c7ce76d70a3 (patch)
tree26891f6a632f71d977b197d6671261d239ea277c /src
parentab96c077a8cd99308e6ae90c3c861ab1c0e911d7 (diff)
parent5801460b3141871222569fb99e7964e9a2925d71 (diff)
downloadDoxygen-9a2c7bbfb0c53b4532db7280e6804c7ce76d70a3.zip
Doxygen-9a2c7bbfb0c53b4532db7280e6804c7ce76d70a3.tar.gz
Doxygen-9a2c7bbfb0c53b4532db7280e6804c7ce76d70a3.tar.bz2
Merge pull request #477 from infinity0/master
Bug 751984 - Use UTC timezone when displaying QDateTimes parsed from SOURCE_DATE_EPOCH
Diffstat (limited to 'src')
-rwxr-xr-xsrc/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 6d66abd..7624ab9 100755
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -2582,7 +2582,7 @@ QCString dateToString(bool includeTime)
}
else // all ok, replace current time with epoch value
{
- current.setTime_t((ulong)epoch); // TODO: add support for 64bit epoch value
+ current.setTimeUtc_t((ulong)epoch); // TODO: add support for 64bit epoch value
}
}
return theTranslator->trDateTime(current.date().year(),