Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Hi there
I use "relative date" instead on "month and time" in my Notion database but it is shown as full-date in this theme
How can I change the theme codes to show relative date for posts date?
I think its related to this line of code: link But I dont know how to solve it
Thanks in advance

You must be logged in to vote

Replies: 4 comments · 5 replies

Comment options

nothing??

You must be logged in to vote
0 replies
Comment options

Hi there
I use "relative date" instead on "month and time" in my Notion database but it is shown as full-date in this theme
How can I change the theme codes to show relative date for posts date?
I think its related to this line of code: link But I dont know how to solve it
Thanks in advance

format

You must be logged in to vote
3 replies
@alerezaaa
Comment options

Hi there
I use "relative date" instead on "month and time" in my Notion database but it is shown as full-date in this theme
How can I change the theme codes to show relative date for posts date?
I think its related to this line of code: link But I dont know how to solve it
Thanks in advance

format

so it seems that I cant change this date style in my fork

thanks

@oeyoews
Comment options

oeyoews@d2123fe
I tested it, it doesn't seem to work

@alerezaaa
Comment options

oeyoews@d2123fe I tested it, it doesn't seem to work

I tested it too, I think a new function should be rewritten to make that work

maybe in future when I learned Javascript and NodeJs

thank you so far

Comment options

You must be logged in to vote
1 reply
@alerezaaa
Comment options

https://github.com/oeyoews/neoblog/blob/3187ecd7b69103393bbdd0761c611ad6ec4d0713/pages/feed.tsx#L66

I think your repository is private
image

Comment options

Hi there I use "relative date" instead on "month and time" in my Notion database but it is shown as full-date in this theme How can I change the theme codes to show relative date for posts date? I think its related to this line of code: link But I dont know how to solve it Thanks in advance

Hi, Excuse me, do you know how to achieve this function? No matter what I try I can't get this to work!
image

You must be logged in to vote
1 reply
@alerezaaa
Comment options

Hi there I use "relative date" instead on "month and time" in my Notion database but it is shown as full-date in this theme How can I change the theme codes to show relative date for posts date? I think its related to this line of code: link But I dont know how to solve it Thanks in advance

Hi, Excuse me, do you know how to achieve this function? No matter what I try I can't get this to work! image

Hi,

Not yet, discussion is going on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.