Wrong date in exported HTML
Posted: Wed Jan 28, 2015 4:06 pm
I have encountered a very strange problem with DVDpedia 5.3.2:
I recently entered a few new disks with "purchased" date 29.12.2014. Now every time I export my collection to HTML (using a slightly modified FancyIndex template), these disks get exported with "purchased" date 29.12.2015 (<td><div class="lbr">2015-12-29</div></td> in the html file). All disks I purchased/entered at dates before that or in the new year get exported correctly.
I tried deleting the contents of the "purchased" field, and then the date filed in the HTML export was empty, too. I re-entered the date and it gets exported again with the wrong year.
I encountered this phenomenon under OS X 10.9.5 and 10.10.2 (I just updated my system). Is this a bug or might this be caused by the export template (which I have been using for years without encountering such a problem)?
The relevant commands used in the template are just:
I recently entered a few new disks with "purchased" date 29.12.2014. Now every time I export my collection to HTML (using a slightly modified FancyIndex template), these disks get exported with "purchased" date 29.12.2015 (<td><div class="lbr">2015-12-29</div></td> in the html file). All disks I purchased/entered at dates before that or in the new year get exported correctly.
I tried deleting the contents of the "purchased" field, and then the date filed in the HTML export was empty, too. I re-entered the date and it gets exported again with the wrong year.
I encountered this phenomenon under OS X 10.9.5 and 10.10.2 (I just updated my system). Is this a bug or might this be caused by the export template (which I have been using for years without encountering such a problem)?
The relevant commands used in the template are just:
Code: Select all
<meta name="date-format" content="YYYY-MM-dd" />
...
<th id="translatePurchasedOn">[translate:purchasedOn]</th>
...
<td><div class="lbr">[key:purchasedOn]</div></td>