Wim wrote:
> Public bug reported:
>
> The text used to print time is inconsistent in bzr log and bzr diff:
>
> # bzr log tools/fish/cli_flags.c
> ------------------------------------------------------------
> revno: 2
> committer: Wim Yedema <***>
> branch nick: X
> timestamp: Thu 2009-11-05 14:06:47 +0100
> message:
> X
> ------------------------------------------------------------
> revno: 1
> committer: Wim Yedema <***>
> branch nick: Y
> timestamp: Wed 2009-11-04 17:30:59 +0100
> message:
> Y
> # bzr diff -r1..2 tools/fish/cli_flags.c
> === modified file 'tools/fish/cli_flags.c'
> --- tools/fish/cli_flags.c 2009-11-04 16:30:59 +0000
> +++ tools/fish/cli_flags.c 2009-11-05 13:06:47 +0000
>
>
> The time stamp for log has +0100 but for diff it has +0000
>
well, the times are the same, the former giving you 17:30:59 +0100 and
the latter giving you 16:30:59 +0000. Which is the same 'world' time. I
wonder if diff always gives UTC times, which is why they are +0000. From
all of my quick tests that is what I see (bzr diff always reports UTC time).
It may even be required for programs that have expectations on the
format string?
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Wim wrote: cli_flags. c ------- ------- ------- ------- ------- ------- ------- ---- ------- ------- ------- ------- ------- ------- ------- ---- cli_flags. c fish/cli_ flags.c' cli_flags. c 2009-11-04 16:30:59 +0000 cli_flags. c 2009-11-05 13:06:47 +0000
> Public bug reported:
>
> The text used to print time is inconsistent in bzr log and bzr diff:
>
> # bzr log tools/fish/
> -------
> revno: 2
> committer: Wim Yedema <***>
> branch nick: X
> timestamp: Thu 2009-11-05 14:06:47 +0100
> message:
> X
> -------
> revno: 1
> committer: Wim Yedema <***>
> branch nick: Y
> timestamp: Wed 2009-11-04 17:30:59 +0100
> message:
> Y
> # bzr diff -r1..2 tools/fish/
> === modified file 'tools/
> --- tools/fish/
> +++ tools/fish/
>
>
> The time stamp for log has +0100 but for diff it has +0000
>
well, the times are the same, the former giving you 17:30:59 +0100 and
the latter giving you 16:30:59 +0000. Which is the same 'world' time. I
wonder if diff always gives UTC times, which is why they are +0000. From
all of my quick tests that is what I see (bzr diff always reports UTC time).
It may even be required for programs that have expectations on the
format string?
John
=:->
-----BEGIN PGP SIGNATURE----- enigmail. mozdev. org/
y6EMACgkQJdeBCY SNAAMJiwCeIgyyr gfE7K7DFadrZg6T 6K/W NpxiIqhtui3gw0c dQjFvDf3
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkr
bPsAoLYU+
=VdT2
-----END PGP SIGNATURE-----