[rt-users] Time in contrib reports

dphull at ku.edu dphull at ku.edu
Thu Nov 14 16:40:03 EST 2002


On Thu, 14 Nov 2002 dphull at KU.EDU wrote:

> I've been playing around with the reports available for download and though 
> the time every where else is recorded correctly in WebRT, the time on these 
> reports is off by 6 hours, we're -6 GMT here, iirc. Anyone know off hand how 
> to adjust this?

I figured out the fix for this and am sending along some diffs for anyone 
interested. Sorry if this is not the right way to submit patches, I don't 
claim to know what I'm doing. ;)

[flismflap at kohi html]# diff statusreport.html patch/statusreport.html 
63c63
< <& /Elements/SelectDate, Name => 'Ending', Default => $EndDate->ISO &>
---
> <& /Elements/SelectDate, Name => 'Ending', Default => $EndDate->AsString &>


[flismflap at kohi html]# diff weekly.html patch/weekly.html 
8,9c8,9
< <a href="Weekly.html?Creator=<%$Creator%>&StartEpoch=<%$startobj->Unix - 
(86400 * 7)%>"><<Previous week</a>
< <a href="Weekly.html?Creator=<%$Creator%>&StartEpoch=<%$startobj->Unix + 
(86400 * 7)%>">Next week>></a>
---
> <a href="weekly.html?Creator=<%$Creator%>&StartEpoch=<%$startobj->Unix - 
(86400 * 7)%>"><<Previous week</a>
> <a href="weekly.html?Creator=<%$Creator%>&StartEpoch=<%$startobj->Unix + 
(86400 * 7)%>">Next week>></a>
59,60c59,60
< Start report on <input name="Start" value="<%$startobj->ISO%>" size=10><br>
< End report on <input name="End" size=10 value="<%$endobj->ISO%>"><br>
---
> Start report on <input name="Start" value="<%$startobj->AsString%>" 
size=10><br>
> End report on <input name="End" size=10 value="<%$endobj->AsString%>"><br>
[flismflap at kohi html]# 


--
Dave Hull
Senior Information Technology Analyst
The University of Kansas
voice: (785) 864-0403 || fax: (785) 864-0485




More information about the rt-users mailing list