question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue parsing weekly note title

See original GitHub issue

Hi, thanks for this great functionality! It worked great until recently I discovered my weekly note cannot be recognized. After some testing, I think this might relate to how I name the files. I am using gggg-[W]ww_MM-DD. If I switch to gggg-[W]ww, it works as expected.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
liamcaincommented, Mar 15, 2021

I made some improvements to how dates are parsed in the new version (0.0.10). Since the library I use to parse dates (momentjs) doesn’t like mixing DD, MM, and ww, I added some custom logic that will help it resolve the datestring. I can’t guarantee it works in all cases but gggg-[W]ww_MM-DD should be working now.

Let me know if you run into any issues!

2reactions
liamcaincommented, Mar 8, 2021

Sorry for the late reply, I can reproduce the issue. The date parser that I’m using seems to be getting confused by the _ character. I will try to make a fix soon!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Weekly notes from last year showing up this year #56
I was using the same Weekly title format before this plugin came along and now weekly notes from last year are already populated...
Read more >
QuickBooks Sync Error: Error Parsing name for item...
A parsing error generally occurs when there are certain special characters within the name of an item on the invoice. If you hover...
Read more >
Templater Parsing Error for all templates : r/ObsidianMD
I currently am using the Periodic Notes plugin to create weekly notes, and the Calendar plugin to allow me to easily pick which...
Read more >
Help! Now getting 'Parsing Error "" is not a function' on all ...
I've been working on debugging this, non-stop for the past week, searching issues, forums, etc. No luck, which I find really strange :-o!...
Read more >
Challenge #4: Date Parsing
For the fourth challenge let's look at parsing Dates from text strings. ... We're actively looking for ideas on how to improve Weekly...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found