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

ISO-8601 Times not Displaying #385

Open
metkucmanic opened this issue Aug 5, 2024 · 0 comments
Open

ISO-8601 Times not Displaying #385

metkucmanic opened this issue Aug 5, 2024 · 0 comments

Comments

@metkucmanic
Copy link

metkucmanic commented Aug 5, 2024

Expected Behavior

  • Display ISO-8601 time

Current Behavior

  • Not displaying time, only displaying HH:MM

Possible Solution

  • Obsidian tracker will recognize the iso date, but not the time. In experimenting with this, it will recognize dates (YYYY-MM-DD) as well as time (HH:MM), but not the full line of iso-8601.

Steps to Reproduce (for bugs)

inline codes:

  • does not work: [Woke:: 2024-08-05T06:32]
  • works: [Woke:: 2024-08-05]
  • works: [Woke:: 06:32]

simple code:

searchType: dvField
searchTarget: Woke
folder: Periodic Notes/Daily Notes
dateFormat: iso-8601
line:

error: No valid Y value found in notes

Context

I use dataview inline fields to mark what time I woke up. Because of dataview's setting (and preview setting), I write in the time in ISO so it can say, for example, that I woke up at 6:32 AM: [Woke:: 2024-08-05T06:32] outputs Woke | 6:32 AM

Dataview preview only supports this format, and anything written as HH:MM will display Woke | 06:32. In addition (as far as I am aware), other plugins do not understand time if written as [dvInline:: HH:MM].

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

1 participant