argenos / nldates-obsidian

Work with dates in natural language in Obsidian
MIT License
477 stars 43 forks source link

Feature request: @timestamp #129

Open juanbretti opened 1 year ago

juanbretti commented 1 year ago

I would be nice to have a shortcut for today and time. The combination of @Today and @time: now. Like a timestamp.

Similar to the Natural Language Dates: Insert the current date and time, but inline using something like @timestamp The output will be something like: 2023-04-08 00:42

Thanks!

mwsmedia commented 1 year ago

Seconded! With the addition of also including the separator.

InfantLab commented 10 months ago

Agreed, I'd like it if @now did this by default. Currently I hack it by setting time format to YYYY-MM-DD HH:mm. Then @time does this for me.

ltroj commented 9 months ago

Yes, that would be a great feature. There should be the option to set a custom format in the settings for it (I like to use yyyy-MM-DDTHH:mm:ssZ for my timestamps).

Currently I have to trick it by using "Insert current time" and set the time to my custom format in the settings.