about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-12-25 01:27:33 -0800
committerEric Wong <normalperson@yhbt.net>2010-12-25 01:27:33 -0800
commit8492f6bbc56d42e3068f25ca233faa78884d5a77 (patch)
treee3251b26ed9789e078425cd54fe1d2375172fec1 /lib
parent66a5374e724612cd16f270f43102a6ed347208d7 (diff)
downloadclogger-8492f6bbc56d42e3068f25ca233faa78884d5a77.tar.gz
It was totally broken but nobody uses uses it, so it
went unnoticed since the beginning of time.
Diffstat (limited to 'lib')
-rw-r--r--lib/clogger/pure.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/clogger/pure.rb b/lib/clogger/pure.rb
index 452e232..4146cce 100644
--- a/lib/clogger/pure.rb
+++ b/lib/clogger/pure.rb
@@ -143,7 +143,7 @@ private
         time_format(t.to_i, (t - t.to_i) * 1000000, op[1], op[2])
       when OP_TIME
         t = Time.now
-        time_format(t.sec, t.usec, op[1], op[2])
+        time_format(t.to_i, t.usec, op[1], op[2])
       when OP_COOKIE
         (env['rack.request.cookie_hash'][op[1]] rescue "-") || "-"
       else