diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-01-06 11:22:44 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-01-06 11:22:44 +0000 |
commit | 549a8eb860afd3ca7bec74c0a955b35855df0a5b (patch) | |
tree | 34ce0503ce2b3fcd2a867b8bceb99e8137f368cb /COPYING | |
parent | 056e06612a30ce12146966c2b75f73b39149cbf7 (diff) | |
download | virt-top-549a8eb860afd3ca7bec74c0a955b35855df0a5b.tar.gz virt-top-549a8eb860afd3ca7bec74c0a955b35855df0a5b.tar.xz virt-top-549a8eb860afd3ca7bec74c0a955b35855df0a5b.zip |
Fix virt-top --end-time option when TZ<>UTC (RHBZ#637964).
Return the end time as seconds since 1970, and don't adjust it
for timezone. In the main module the end time is compared against
the result of Unix.gettimeofday, which is also seconds since 1970,
so the comparison now works.
Tested with TZ=UTC-05, TZ=UTC and TZ=UTC+05.
NB: This has not been tested against ocaml-calendar 1.x, although
that version of calendar is obsolete and no one should be using it.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions