I was just wondering about the date format, as it's not i18n friendly (for example in US the day/month would be inversed).
I saw that github does not use absolute date to avoid this issue but relative time like "25 minutes ago", I think that's smart and easier to track the time since changes were made.
Thanks for the fix!
I was just wondering about the date format, as it's not i18n friendly (for example in US the day/month would be inversed). I saw that github does not use absolute date to avoid this issue but relative time like "25 minutes ago", I think that's smart and easier to track the time since changes were made.
Would that fit your use case?
If so, that could be implemented easily with momentjs: https://momentjs.com/docs/#/displaying/fromnow/ :
moment(lastModificationDate).fromNow()