Details
Description
After testing the example code for Document Expiry and Archival, I noticed a bug.
The assertion " var expiry = new Date(meta.expiration);" gives a date in January 1970. This is the case since javascript expects an epoch value in ms, while meta.expiration expresses it in second. Replacing the line with
" var expiry = new Date(meta.expiration*1000);" solves the problem.
Reporter: Filip Jansson
E-mail: filipjansson0@gmail.com