Closed Cleop closed 6 years ago
@Cleop I actually prefer the precise date-time. could we not have both displayed? e.g:
2 days ago (2018-03-06 17:35:38)
So it shows the exact time that the edit/update was made.
@nelsonic, as you wish. So far I've just been following the 'replicate github' notion but I'm happy to have just precise date-time or both if it's not too cluttered/ users want it.
@Cleop yeah, stick with "replicate GitHub UI". We can always add the precise date as a "tool tip" so the UI (on Mobile) is not cluttered.
Currently we display times/dates like this:
![image](https://user-images.githubusercontent.com/16775804/37103696-b973d376-2222-11e8-8994-919917286354.png)
Whereas we display them like this with dates as numbers and never as a reference to how long ago (for more recent posts):![image](https://user-images.githubusercontent.com/16775804/37103655-a1d96988-2222-11e8-9b1c-ca52fa6138a7.png)
If we are trying to stick as closely as possible to github's UI then we could update this. One option to achieve this would be to use the Timex library: https://hexdocs.pm/timex/Timex.html
Or if we think the library is too bulky for this use case then we could write our own custom version.