-
I have template like this:
But I need call day.js |
Beta Was this translation helpful? Give feedback.
Answered by
stdword
Oct 18, 2023
Replies: 3 comments 1 reply
-
Hello! Just like
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
stdword
-
@stdword Sorry, now I have week note, and template like:
but now is October and I get Sep.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
Just like
days.js
documentation shows:For your example I've made some changes:
``...``
instead of old one:``{...}``
c.page.day
to accessday.js
object related to journal page (it is empty for non-journal), instead of parsing page name withdate.from
.week
to.isoWeek
Variant 2
to access iso week number via.format
(seeday.js
documentation)Variant 2
also shows a way to get off the clickable ref inside template