blacksmithgu / obsidian-dataview Public
generated from obsidianmd/obsidian-sample-pluginNew 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
Possible to have durations displayed in selected unit? #140
Comments
|
I wouldn't call it "easy" but this might work for now: |
|
I will add a function to do this. |
|
@SkepticMystic This wouldn’t work in all situations, just think of DST switching … and it wouldn’t just be hours, but weeks, months and years, too, you’d have to add. Best bet might be to use |
|
@Moonbase59 for sure, dedicated functionality for this would be way better |
@blacksmithgu Is it still something you want to add? I would love to have it. |
Sometimes one wishes to add up durations, or simply display them in a specified unit, like minutes or hours.
Let’s take this example:
It will display:
So if I specify
.minutesit’ll only display the minutes part of the duration (30), not it’s actual length in minutes (90).Any easy way to do this?
The text was updated successfully, but these errors were encountered: