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

Title is converting to timestamp format #512

Open
strada-jeff opened this issue May 10, 2024 · 0 comments
Open

Title is converting to timestamp format #512

strada-jeff opened this issue May 10, 2024 · 0 comments

Comments

@strada-jeff
Copy link

I'm using the javascript SDK to add pages to a database. The 'title' of the page is a unique identifier that consist of:

two digits - three letters - then four digits

One of these unique identifier is fomatted in the following way.

22-MAY-1390

Which looks like a date but is truly just random. The Title Field request is formatted as follows:

{ title: [{ 
  "type": "text", 
  "text": { 
    "content": "22-MAY-1390"
  } 
}] }

When I look in Notion the Title appears as: 1390-05-22T00:00:00Z

Node version: 20.10.0
Notion JS library version: 2.2.3

Just curious if I'm formatting the request wrong as it's converting to a date/time stamp? or if anyone had any other thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant