jamalex / jamalex/notion-py

NotionDate to datetime.datetime

Open
#286 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4.4k
Forks
470
PR merge metrics
No merged PRs in 30d

Description

Hello There! I'm trying to export my Notion data to Google Calendar, so, to create my `.ics` file I need to convert `notion.collection.NotionDate` object to `datetime.datetime` object. I've tried to use `row.date._format_datetime(datetime)` but, unfortunately, it didn't work. Help me, please, how to convert NotionDate to datetime.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the row.date object and inspect NotionDate._format_datetime, since these are the only entry points mentioned. Determine the supported way to obtain a datetime.datetime value and document the conversion path or usage; done means a newcomer can use it to create an .ics file.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.