Quantcast
Viewing all articles
Browse latest Browse all 27

Created Issue: date:date() returning time [33579]

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.

Viewing all articles
Browse latest Browse all 27

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>