-
Notifications
You must be signed in to change notification settings - Fork 6
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
Assignment without due dates are not being imported into Notion #251
Comments
|
In the meantime, a workaround:
await chrome.storage.local.set({
savedAssignments: Object.fromEntries(
Object.entries((await chrome.storage.local.get()).savedAssignments)
.map(([key, value]) => [
key,
value.map(assignment => {
if (assignment.due !== "1970-01-01T12:00:00.000Z") {
return assignment;
}
console.log(`skipping ${assignment.name}`);
assignment.due = "2024-12-12T12:00:00.000Z";
return assignment;
})
]),
),
});
That will make all of your assignments that don't have due dates be imported into Notion as being due in December (right now, it's due in 1970, which is in the past, so it's ignored by the importer). You can then click+drag (or shift+click) in Notion (probably easiest in a table view) to clear all of the placeholder due dates at once. |
… (#387) * Fix import of assignments without due dates (#251) (#384) * fix(canvas): 🐛 do not store absence of due date as unix epoch (#251) * fix(import): 🐛 correctly import assignments without due dates to notion (#251) * refactor(types): 🏷️ refactor type declaration files change to regular typescript files * fix(validator): 🐛 fix timezone validation (#252) * build(notion): 👽 pin notion api version * feat(notion): ✨ parse notion page properties * feat(options): ✨ add `notion.importChanges` options * fix(interface): 💄 properly hide segmented controls * refactor(types): 🧑💻 strongly type `Storage` key methods * docs(readme): 📝 update `readme` * docs(readme): 📝 update advanced options heading size * feat(import)!: ✨ update existing pages if assignment has changed (#385) BREAKING CHANGE: This requires a new previously unheld capability on the integration. Existing users must reauthorise with Notion. * build(actions): 💚 fix gulp build
The text was updated successfully, but these errors were encountered: