diff options
author | Fritz Elfert <felfert@to.com> | 2002-07-14 06:35:33 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2002-07-14 06:35:33 +0000 |
commit | f9e740af36b44a1c9e834dc8fff08fba8fb1b13f (patch) | |
tree | 8b84b4ffcb235224f8de1761fdd59446f155281d /lib/psitime.h | |
parent | 97984a6f290d1bd87aaba317c47c70a14b1c0b31 (diff) | |
download | plptools-f9e740af36b44a1c9e834dc8fff08fba8fb1b13f.tar.gz plptools-f9e740af36b44a1c9e834dc8fff08fba8fb1b13f.tar.bz2 plptools-f9e740af36b44a1c9e834dc8fff08fba8fb1b13f.zip |
Applied patches from debian bug #104967 (not yet tested)
Diffstat (limited to 'lib/psitime.h')
-rw-r--r-- | lib/psitime.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/psitime.h b/lib/psitime.h index 7732783..79fd521 100644 --- a/lib/psitime.h +++ b/lib/psitime.h @@ -68,7 +68,7 @@ typedef struct psi_timeval_t { int d = micro % 365; micro /= 365; int y = micro; - o << dec; + o << std::dec; if (y > 0) o << y << ((y > 1) ? _(" years ") : _(" year ")); if (d > 0) @@ -99,7 +99,7 @@ typedef struct psi_timezone_t { ostream::fmtflags old = s.flags(); int h = ptz.utc_offset / 3600; int m = ptz.utc_offset % 3600; - s << "offs: " << dec << h << "h"; + s << "offs: " << std::dec << h << "h"; if (m != 0) s << ", " << m << "m"; s.flags(old); |