Commit Graph

23 Commits

Author SHA1 Message Date
Jarek Radosz
5d4b240453
DEV: Provide radix argument to parseInt (#8281)
* DEV: Provide radix 10 argument to parseInt

* DEV: Provide radix 16 argument to parseInt

* DEV: Remove unnecessary parseInt calls

* Fix year formatting

parseInt was used here to convert decimals to ints
2019-11-12 10:47:42 +01:00
Dan Ungureanu
8b2c272f04
UX: Use medium format for displaying time in post notices. (#8074) 2019-09-11 13:00:53 +03:00
Penar Musaraj
3501533a2b DEV: unpin Prettier version, apply to YAML files
We had Prettier pinned because of https://github.com/prettier/prettier/issues/5529. Since that bug is fixed, unpinning.

Prettier now supports YAML, so this applies Prettier to all .yml except for translations, which should not be edited directly anyway.
2019-01-17 13:05:39 -05:00
Joffrey JAFFEUX
03a7d532cf
DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
Joffrey JAFFEUX
1071aa21ab
FIX: slightly safer rounding 2018-06-07 10:59:17 +02:00
Joffrey JAFFEUX
ab089cd68b
FIX: makes format number round the value before using parseInt 2018-06-07 10:44:21 +02:00
Joffrey JAFFEUX
43b1768987
UX: ceil dahsboard values 2018-05-30 16:32:43 +02:00
Joffrey JAFFEUX
6d4ff05cf0
FIX: makes sure [999500..999999] is correctly shown as 999k 2018-03-02 11:00:48 +01:00
Arpit Jalan
04b8831cde UX: for numbers greater than 100k allow 0 precision 2018-01-02 13:27:46 +05:30
Neil Lalonde
33feb62673 FIX: times showing as < 1m instead of blank 2017-11-21 14:33:49 -05:00
Neil Lalonde
b37e40eea9 FEATURE: show read time in last 60 days 2017-11-16 15:46:51 -05:00
Erick Guan
fb3c5bcd0f
FIX: activy column title shows the non-i18n datetime 2016-11-16 22:15:34 +01:00
Erick Guan
9ce61b4586 FEATURE: Webhooks. 2016-09-05 18:44:00 +08:00
Robin Ward
78e8aa823d UX: Just show "1m" if less than 1m 2016-08-18 12:47:00 -04:00
Robin Ward
c275a68daf FIX: mdash being displayed when a date was invalid 2016-06-08 11:07:45 -04:00
Robin Ward
288b407bd1
UX: Also use timeline date format on the bottom of the timeline 2016-05-31 10:51:52 -04:00
Robin Ward
3cebba5b1f
UX: Add "ago" to the bottom of the timeline when relative 2016-05-31 10:51:49 -04:00
Robin Ward
90330d30f4
FIX: Error in smart short date function 2016-05-31 10:51:47 -04:00
Robin Ward
1c49c57494
UX: Change the date formatting for timeline start + scroller 2016-05-31 10:51:42 -04:00
Robin Ward
559fa36c18
FEATURE: Topic timeline widget 2016-05-31 10:51:39 -04:00
Guo Xiang Tan
d3fea106fc FIX: Update relativeAgeMedium to be consistent with relativeAgeTiny. 2015-08-31 00:14:57 +08:00
Guo Xiang Tan
50ce95b37d FIX: Post age time not being translated correctly. 2015-08-31 00:11:52 +08:00
Robin Ward
b7e6eaa961 ES6ify some of the remaining files 2015-08-10 10:21:05 -04:00