Repository navigation
Feature request: Relative date options #1989
Daniel Laskewitz (Laskewitz)
started this conversation in
General
Replies: 3 comments
|
hi, |
0 replies
|
It does meet it partly, the difference with moment.js is that you don't have to think about if it's minutes, hours, days, or months. That will go automatically. So it saves a lot of if statements. Daniel |
0 replies
|
This was an issue originally. It was closed and converted into a discussion. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm not sure if this is the place for this, but I don't know where else to put it!
I've been a fan of Moment.js for years. It's a library that you can use for various date calculations/formatting in different languages. Now, Power Fx handles calculations & formatting pretty well. There's only one thing missing to me: relative dates. I would love Power Fx to have that as well (without a lot of formula usage...).
I would love to see some formula or extra formula where we can input a date and then it will calculate how long that's from the current date: 1 hour ago, 2 days ago, in 2 days, in 2 hours, etc.
Is this an option for Power Fx?
All reactions