Hi, I have a weird problem which is probably only peripherally
MarkLogic-related ...

we store dates in MarkLogic in XML documents like this:
   <document_date>2011-03-01</document_date>

when I display any date (yes, I think, it's any date) and use
format-date() with a picture string like this:
   format-date(document_date, '[D] [MNn,3-3] [Y]')

it will always show the previous day. This became particularly
apparent for the 1st of January of a year where suddenly I would see
31st of December of the previous year. I have the suspicion it's
something to do with timezones (and really nothing with MarkLogic),
but I'm not sure how to fix this.

thanks for any help you may be able to provide,
Jakob.
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to