date mismatch in Daily Report email

Known bugs reported by PacsOne users
Post Reply
tburba
Posts:50
Joined:Fri Apr 23, 2010 5:02 pm
Contact:
date mismatch in Daily Report email

Post by tburba » Tue Apr 14, 2015 12:19 pm

PacsOne 6.4.1. Administrator's email is set as the staff needs Daily Reports with statistics.

This report, for example, collects studies from April 13th (see Date and Received On) but in email's Subject and title the date is listed as April 12th.

Also the Date: header looks suspicious to me. As far as I understand the User's Manual, this email is to be generated on the very beginning of April 15th (midnight plus a few minutes, depending on how much time was needed to calculate Total Size). Here it is 23 hours late.

Code: Select all

Subject: PacsOne Server Daily Report - Studies Received Sunday April 12th, 2015
Date: Mon, 13 Apr 15 23:00:31 +0200

PacsOne Server Daily Report - Studies Received Sunday April 12th, 2015

Total of 282 studies, 31835 images of 22.22 GB
--------------------------------------------------------------------------------
Patient ID|Patient Name|Study ID|Date|Modalities|Accession Number|Received On|Images|Total Size
--------------------------------------------------------------------------------
VS319480418|SURNAME1 NAME1|N/A|2015-04-13|CR|NR.3273-3274/amb|2015-04-13 12:03:22|2|60.60 MB
...
AP319621126|SURNAMEx NAMEx|N/A|2015-04-13|CR|D.CIURN.1544-5|2015-04-13 21:49:25|2|27.67 MB
--------------------------------------------------------------------------------

Total of 282 studies, 31835 images of 22.22 GB

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Re: date mismatch in Daily Report email

Post by pacsone » Tue Apr 14, 2015 4:30 pm

Can you check the "Default Timezone" setting of the Date section from the output of the test page on your server, and verify that it's coirrect?

http://localhost/pacsone/Hello.php

tburba
Posts:50
Joined:Fri Apr 23, 2010 5:02 pm
Contact:

Re: date mismatch in Daily Report email

Post by tburba » Fri Apr 17, 2015 9:11 am

Thank you for the suggestion. The timezone was only one hour off; but, due to some non-obvious rounding, the resulting difference was one day. The problem is solved.

Post Reply