Commit graph

9 commits

Author SHA1 Message Date
Stefan Sundin
92e55c7d5f Add a title with the exact date to dateTime elements that use timeAgo. 2021-04-03 00:32:06 -04:00
Sean Yesmunt
61dfc2f74a handle comment time display correctly immediately after posting 2020-10-05 11:54:20 -04:00
Sean Yesmunt
951d7bbb63 remove 'show both' date option in DateTime 2020-07-09 14:49:36 -04:00
infiinte-persistence
598c336b66 Refactor DateTime to allow it's translated result string to be re-used elsewhere, for consistency. 2020-05-11 14:54:05 -04:00
infiinte-persistence
2582627f25 Fix localization issue in DateTime.
The class was only returning a localized string for 'years' and 'months'; English was used for the rest.

- Fixed by handling the remaining cases.
- New strings were added (1) so that they will all be consistent language-wise until the translators handle them all (2) allows for cleaner code through variable re-use (%duration%).
2020-05-11 14:54:05 -04:00
Sean Yesmunt
893e7fbb1b round dates down for months and days 2019-12-13 10:36:48 -05:00
Sean Yesmunt
208fe57ed7 fix date rounding 2019-12-13 10:36:48 -05:00
Sean Yesmunt
c1131a374b hopefully stop app crashes because of bad dates
https://github.com/GoogleChrome/lighthouse/issues/1056
2019-12-05 01:09:08 -05:00
Sean Yesmunt
6ad31a3ce9 refactor lbrytv web server 2019-11-11 13:27:29 -05:00
Renamed from src/ui/component/dateTime/view.jsx (Browse further)