[ 1755592 ] Printing time in format

http://sourceforge.net/tracker/?func=detail&atid=879332&aid=1755592&group_id=176962
This commit is contained in:
vpj-cd 2007-07-17 18:17:26 +00:00
parent 4bdf000807
commit ca71e4e8f6
1 changed files with 6 additions and 0 deletions

View File

@ -832,6 +832,12 @@ public class DataEngine
}
pde = new PrintDataElement(pdc.getColumnName(), value, pdc.getDisplayType());
}
// fix bug [ 1755592 ] Printing time in format
else if (pdc.getDisplayType() == DisplayType.DateTime)
{
Timestamp datetime = rs.getTimestamp(counter++);
pde = new PrintDataElement(pdc.getColumnName(), datetime, pdc.getDisplayType());
}
else
// The general case
{