mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-21 23:58:07 +02:00
Set the modification date to the current day when saving
This commit is contained in:
parent
e51e9d1f33
commit
908e7ae5e4
2 changed files with 3 additions and 3 deletions
|
@ -330,7 +330,7 @@ describe("util", function () {
|
|||
describe("getModificationDate", function () {
|
||||
it("should get a correctly formatted date", function () {
|
||||
const date = new Date(Date.UTC(3141, 5, 9, 2, 6, 53));
|
||||
expect(getModificationDate(date)).toEqual("31410610020653");
|
||||
expect(getModificationDate(date)).toEqual("31410609020653");
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue