Dan2552 / snofyre

Automatically exported from code.google.com/p/snofyre
0 stars 0 forks source link

Attestation time in patient record inspector not displayed correctly #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run a query
2. Double click on any row in the returned result set
3. Inspect the contents of the attestation time field in the displayed data

What is the expected output? 

A human readable date

What do you see instead?

The text of a java call that probably would generate a human readable date

e.g. 
Java.util.GregorianCalendar[time=-1246410000000,areFieldsSet=true,areAllFieldsSe
t=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Europe/London",offset=0,
dstSavings=3600000,useDaylight=true,transitions=242,lastRule=java.util.SimpleTim
eZone[id=Europe/London,offset=0,dstSavings=3600000,useDaylight=true,startYear=0,
startMode=2,startMonth=2,startDay=-1,startDayOfWeek=1,startTime=3600000,startTim
eMode=2,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=3600000,endTimeMod
e=2]],firstDayOfWeek=2,minimalDaysInFirstWeek=4,ERA=1,YEAR=1930,MONTH=6,WEEK_OF_
YEAR=27,WEEK_OF_MONTH=1,DAY_OF_MONTH=4,DAY_OF_YEAR=185,DAY_OF_WEEK=6,DAY_OF_WEEK
_IN_MONTH=1,AM_PM=0,HOUR=0,HOUR_OF_DAY=0,MINUTE=0,SECOND=0,MILLISECOND=0,ZONE_OF
FSET=0,DST_OFFSET=3600000]  

Original issue reported on code.google.com by jeremy.r...@googlemail.com on 19 Jan 2011 at 1:49

GoogleCodeExporter commented 8 years ago
The table cell render seems to be displaying a serialised version of the date 
(Gregorian Calendar) object. Tim is working on a fix and hopefully we'll can 
merge his fix.

Original comment by jay.kola on 19 Jan 2011 at 8:00

GoogleCodeExporter commented 8 years ago
Have a fix for this see attached.

Original comment by tim.irel...@nhs.net on 24 Jan 2011 at 4:32

Attachments: