[lxc-devel] [lxc/lxc] 86698d: log: fix lxc_unix_epoch_to_utc()

GitHub noreply at github.com
Mon Feb 27 16:50:23 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 86698d3885b8bf575b4f3d8e99d62b20f0682e5d
      https://github.com/lxc/lxc/commit/86698d3885b8bf575b4f3d8e99d62b20f0682e5d
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-02-27 (Mon, 27 Feb 2017)

  Changed paths:
    M src/lxc/log.c

  Log Message:
  -----------
  log: fix lxc_unix_epoch_to_utc()

The conversion algorithm used uses a clever trick by letting a year start at 1
March. So we need to add 1 for January and February.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: fb8df267cad5093d16e6c465ffcbd5a066164d58
      https://github.com/lxc/lxc/commit/fb8df267cad5093d16e6c465ffcbd5a066164d58
  Author: St├ęphane Graber <stgraber at stgraber.org>
  Date:   2017-02-27 (Mon, 27 Feb 2017)

  Changed paths:
    M src/lxc/log.c

  Log Message:
  -----------
  Merge pull request #1447 from brauner/2017-02-27/fix_logging_timestamps

log: fix lxc_unix_epoch_to_utc()


Compare: https://github.com/lxc/lxc/compare/e3e54165feb1...fb8df267cad5


More information about the lxc-devel mailing list