Skip to content

Commit

Permalink
[BUGFIX] Fixed crashes on timezones
Browse files Browse the repository at this point in the history
[BUGFIX] Fixed docs
  • Loading branch information
egordm committed Dec 10, 2021
1 parent 116f5fe commit 0d3087a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
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

0 comments on commit 0d3087a

Please sign in to comment.