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

Using dates in obsidian-utilities #20

Open
manfrombar opened this issue Nov 16, 2021 · 9 comments
Open

Using dates in obsidian-utilities #20

manfrombar opened this issue Nov 16, 2021 · 9 comments

Comments

@manfrombar
Copy link

manfrombar commented Nov 16, 2021

I have defined in my Obsidian Daily notes YYYY-MM-DD dddd date format, that it shows 2021-11-16 Tuesday
I have tried to modify it into the Alfred workflow but It doesn't work.
Can you help me?
Thanks

@macedotavares
Copy link
Owner

macedotavares commented Nov 16, 2021 via email

@manfrombar
Copy link
Author

manfrombar commented Nov 16, 2021 via email

@macedotavares
Copy link
Owner

Alfred uses this Unicode Date Format. So, in your case, you want to replace the date variable in the Daily Note and Daily Journal actions with {date:YYYY-MM-dd EEEE}. Like so:

Screenshot 2021-11-17 at 09 24 50

Screenshot 2021-11-17 at 09 24 58

If everything else is set up correctly, you should be OK. Let me know if you need any further assistance.

Cheers!

@manfrombar
Copy link
Author

manfrombar commented Nov 17, 2021 via email

@macedotavares
Copy link
Owner

So, both Alfred and Obsidian are using the correct date format 2021-11-17 miércoles, but text isn't getting appended?

Please activate debugging mode in Alfred (the bug button on the top right of the workflow window), run the action, and send me the logs that appear in the bottom pane.

Also, if you don't mind, provide a screenshot of your Workflow Environment Variables.

We'll get this sorted.

@manfrombar
Copy link
Author

manfrombar commented Nov 17, 2021 via email

@macedotavares
Copy link
Owner

Your reply seems to be empty. 🧐

@manfrombar
Copy link
Author

manfrombar commented Nov 17, 2021 via email

@manfrombar
Copy link
Author

manfrombar commented Dec 2, 2021 via email

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