Page MenuHomePhabricator

Format timestamps using ISO 8601 formatting
ClosedPublic

Authored by Fabien on Jan 28 2019, 15:23.

Details

Summary

(e.g. "2018-02-28T12:34:56Z")

  • Z is the zone designator for the zero UTC offset.
  • T is the delimiter used to separate date and time.

This makes it clear for the end-user that the date/time logged is
specified in UTC and not in the local time zone.

Backport of core PR12567

Depends on D2423

Test Plan
make check

./src/bitcoind

Check in the log the the time format is ISO 8601 compliant

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jan 28 2019, 18:32
This revision was automatically updated to reflect the committed changes.