Relative timestamps - Mendix Forum

Relative timestamps

2

It would be great to have support for relative timestamps: “happened 3 days ago” instead of “happened 2019-06-16”. This is becoming more and more common in the mobile app and web-app world, improves user experience, and reduces user error (not all jurisdictions have the same standards for date formatting, relative is more human readible)

See this article for more explanation and cases: https://uxmovement.com/content/absolute-vs-relative-timestamps-when-to-use-which

asked
3 answers

Hi Rick, you can achieve this with the format string widget (platform support), which has exactly this functionality for DateTime attributes (see: https://appstore.home.mendix.com/link/app/264/Mendix/Format-String). But I agree, this should be integrated in vanilla mendix.

Created

Hi Rick, I think you can quite easily create a custom widjet using https://timeago.org/

Created

Created