Status: New
Owner: ----
Labels: Type-Defect Priority-Medium GLASS-Server Version-GLASS0.231
New issue 304 by norbert.hartl: printString from DateAndTime created with
ScaledDecimal contains unnecessary dot
http://code.google.com/p/glassdb/issues/detail?id=304I'm using DateAndTime and the way I use it leads to the internal creation
of a ScaledDecimal representation. Using the printString produces a ISO8601
format.
The format is problematic if the ScaledDecimals denominator is 1 (if the
number is integer). In this case there is a leading dot left after the
seconds
(DateAndTime year: 2011 month: 10 day: 31 hour: 14 minute: 23 second:
(ScaledDecimal fromString: '47.0') offset: Duration zero) printString
will give
'2011-10-31T14:23:47.+00:00'
DateAndTime can also be represented by a SmallDouble but there the problem
does not exist. I'll attach a fix in a few minutes to this issue