Skip to content

Commit 3886450

Browse files
committed
Add modified timestamp
1 parent 545f32f commit 3886450

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/models/frame.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
const fs = require('fs');
22
const path = require('path');
3+
const moment = require('moment');
34
const BaseFrame = require('./baseFrame.js');
45

56
class frame extends BaseFrame {
@@ -40,7 +41,8 @@ class frame extends BaseFrame {
4041
notes: this.notes,
4142
start: this._start,
4243
stop: this._stop,
43-
timezone: this.timezone
44+
timezone: this.timezone,
45+
modified: moment()
4446
}, null, "\t"));
4547
}
4648

0 commit comments

Comments
 (0)