summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2018-04-29 05:20:47 +0900
committerEike Rathke <erack@redhat.com>2018-05-04 21:30:43 +0200
commit5103c6a405e93bb05018ab7c89e7e9446c740aaa (patch)
tree98b3b1705cfcd0eeb867cff94e8766f1978c287f /config.guess
parent7b0ff01d1bf718c5b439b5cddfcdfe051271b28c (diff)
tools: Avoid looking up system clock twice to get DateTime
DateTime::DateTime(DateTimeInitSystem) had initialized Date and Time separately, which causes a slight possibility that it could get a wrong datetime with almost 24 hours delay when it went beyond midnight. E.g., the date part was of the previous day while the time part was 00:00:00.xxx of the next day. This also reduces duplicate code by sharing GetSystemDateTime(). Change-Id: I352d90f468f5cbc70e7936a337bed97365baa06c Reviewed-on: https://gerrit.libreoffice.org/53612 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'config.guess')
0 files changed, 0 insertions, 0 deletions