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

Logseq:Format of date variables and pages name according to that #127

Open
yoghurtdewdew opened this issue Aug 21, 2023 · 4 comments
Open
Assignees

Comments

@yoghurtdewdew
Copy link

Does the date variables support custom formatting?

I would like pages like “Omnivore-YYYY-MM” or “Omnivore-YYYY-W33”, rather than a single page or multiple pages.

@sywhb
Copy link
Collaborator

sywhb commented Dec 8, 2023

Hey @yoghurtdewdew , sorry for the late reply.

So far we only support custom date format in the page name by changing the "Preferred date format" in the Editor Settings but this is good to add and I can try to add that.

Screenshot 2023-12-08 at 1 34 05 PM

@sywhb sywhb self-assigned this Dec 8, 2023
@yoghurtdewdew
Copy link
Author

image image

To sync use a single page or multiple pages maybe not easy to see them, so multiple pages use “Omnivore-YYYY-MM” or “Omnivore-YYYY-W33” will be great.

@sywhb
Copy link
Collaborator

sywhb commented Dec 12, 2023

Yeah, it makes sense. This is something we should do. Probably we can automatically sync into multiple pages if there is a dynamic page name in the settings.

Before that, you can also just put the date variable {{{ date }}} in the "pageName" settings plus the "preferred date format" to achieve what you want.

Screenshot 2023-12-12 at 10 52 09 AM

@yoghurtdewdew
Copy link
Author

That didn't solve my problem. Prefered date format surely will be one day & time to know the date & time for each webpage. But pageName I would prefer monthly & weekly pages.

It means, if I set Prefered date format to be YYYY-MM-DD, I get too much pages. If I set Prefered date format to be YYYY-MM, I could not get the day & time of each webpage.

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

2 participants