mgskjaeveland / sgvizler

Sgvizler: SPARQL result set visualisation javascript library
http://mgskjaeveland.github.io/sgvizler/
MIT License
31 stars 13 forks source link

Issue when creating Javascript Date objects #65

Closed essepuntato closed 8 years ago

essepuntato commented 8 years ago

The month part of a Date object in Javascript is 0-based (January = 0, February = 1, etc.). Thus, it is needed to subtract 1 to the actual month (either in xsd:date or xsd:dateTime) returned by a SPARQL query.