Skip to content
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

[BUGFIX] Fixed crashes on timezones #10

Merged
merged 1 commit into from
Dec 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions docs/zotero.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,16 @@ It is possible to sync Zotero Collection tree to Notion. To do this you need to
page to the following command:

```bash
notionsci sync zotero collections <collections database url of id>
notionsci sync zotero collections <url or id of the cloned library template page>
```

Usage:
```bash
Usage: python -m notionsci sync zotero collections [OPTIONS] COLLECTIONS
Usage: python -m notionsci sync zotero collections [OPTIONS] TEMPLATE

Starts a one way Zotero references sync to Notion

COLLECTIONS: Collections database page ID or url
TEMPLATE: Cloned template page ID or url

Options:
--force Ensures up to date items are also pushed to Zotero
Expand All @@ -79,30 +79,28 @@ To synchronize your references (Papers, Books, Articles, etc.) you need to pass
page to the following command.

```bash
notionsci sync zotero refs <refs database url of id>
notionsci sync zotero refs <url or id of the cloned library template page>
```

To include the reference to collection relations you can also specify the collections database.

```bash
notionsci sync zotero refs <refs database url of id> --collections <collections database url of id>
notionsci sync zotero refs <url or id of the cloned library template page>
```

Usage:
```bash
Usage: python -m notionsci sync zotero refs [OPTIONS] REFERENCES
Usage: python -m notionsci sync zotero refs [OPTIONS] TEMPLATE

Starts a one way Zotero references sync to Notion

REFERENCES: References database page ID or url
TEMPLATE: Cloned template page ID or url

When collecitons option is specified Unofficial Notion Api access is
required

Options:
--force Ensures up to date items are also pushed to Zotero
-c, --collections TEXT Collections database page ID or url to (optionally)
add references to
--help Show this message and exit.

```
Expand Down
1 change: 1 addition & 0 deletions notionsci/connections/notion/structures/properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class SelectValue:
class DateValue(ToMarkdownMixin):
start: str
end: Undefinable[str] = None
time_zone: Undefinable[str] = None

@staticmethod
def from_date(value: dt.datetime):
Expand Down