-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add event timestamp to repetitions #258
base: master
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,43 @@ | |||
/** | |||
* This migration updates date from format `dd-mm-YYYY` to midnight unixtime |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrong description
* so that each client with different timezone could convert it to local time | ||
*/ | ||
module.exports = { | ||
async up(db) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add batching, see migrations/20200511174200-daily-events-grouping-timestamp-goes-utc.js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Event timestamp now added to repetition diff in any case to allow database operations on it