You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Certain page-title-format dates seemingly break the Journal displaying.
My desired journal format is: yyyy/MMM/dd, EEEE. It should display as "2024/Jul/19, Friday". It's my preferred format, as it takes use of hierarchies to better index & find journal entries, as well as reading more legibly w/ month names.
The following work:
yyyy/MM/dd
yyyy MMM/dd
But surrounding the MMM format with either dashes or slashes breaks things:
yyyy-MMM-dd
yyyy/MMM-dd
There are no errors thrown in the console. To confirm, I used invalid date formats such as yyyy/MM/dddd, and observed errors in the console.
This also seems to be consistent with "MMM", "MMMM", "EEE", or other non-numeric formats.
Reproduce the Bug
I use Logseq desktop for Linux, but this is reproducible across MacOS, Linux, and the browser. The browser-based app can demonstrate a minimally reproducible issue:
Search first
What Happened?
Certain
page-title-format
dates seemingly break the Journal displaying.My desired journal format is:
yyyy/MMM/dd, EEEE
. It should display as "2024/Jul/19, Friday". It's my preferred format, as it takes use of hierarchies to better index & find journal entries, as well as reading more legibly w/ month names.The following work:
yyyy/MM/dd
yyyy MMM/dd
But surrounding the
MMM
format with either dashes or slashes breaks things:yyyy-MMM-dd
yyyy/MMM-dd
There are no errors thrown in the console. To confirm, I used invalid date formats such as
yyyy/MM/dddd
, and observed errors in the console.This also seems to be consistent with "MMM", "MMMM", "EEE", or other non-numeric formats.
Reproduce the Bug
I use Logseq desktop for Linux, but this is reproducible across MacOS, Linux, and the browser. The browser-based app can demonstrate a minimally reproducible issue:
config.edn
:journal/page-title-format "yyyy/MMM/dd"
Expected Behavior
Journal will be displayed with the desired format:
yyyy/MMM/dd
-> 2024/Jul/19.Screenshots
No response
Desktop or Mobile Platform Information
Logseq Linux app 0.10.9
Logseq MacOS app 0.10.9
Chromium 126.0.6478.126 (running Logseq 0.10.9)
Additional Context
No response
Are you willing to submit a PR? If you know how to fix the bug.
The text was updated successfully, but these errors were encountered: