expr icon indicating copy to clipboard operation
expr copied to clipboard

sugar or syntax for date or datetime?

Open loveyou127 opened this issue 4 years ago • 5 comments

e.g. 5 min ago in expr, or 2 days long.

loveyou127 avatar Sep 12 '21 18:09 loveyou127

I was thinking of adding something for it for sure.

antonmedv avatar Sep 12 '21 18:09 antonmedv

Yes, it's really important, now it's hard to compare dates in expr.

pctd avatar Oct 07 '21 00:10 pctd

CompareDate(..., ...)

antonmedv avatar Oct 07 '21 10:10 antonmedv

What about relative time helper? Like Ago(5 min) or Future(1 hr)

byte-bucket avatar Oct 08 '21 13:10 byte-bucket

Ago('5 min') or Future('1 hr')

antonmedv avatar Oct 08 '21 15:10 antonmedv

Done!

antonmedv avatar Nov 05 '22 19:11 antonmedv