Calling date:date() returns a date value with a time portion (i.e. "2012-12-12:07:00")
I discovered this when doing this call:
date:year(normalize-space(date:add(normalize-space(date:date()),normalize-space('-P3M5D'))))
The date:year(string) call could not parse out the time portion and would return NaN.
I think this can be solved by overriding the HasTimeZone() method in DateTz to return false.
Please verify.
I discovered this when doing this call:
date:year(normalize-space(date:add(normalize-space(date:date()),normalize-space('-P3M5D'))))
The date:year(string) call could not parse out the time portion and would return NaN.
I think this can be solved by overriding the HasTimeZone() method in DateTz to return false.
Please verify.