Merge pull request #2144 from ZBoxApp/PLT-1928

PLT-1928: Fix localization on floating timestamp
Этот коммит содержится в:
Christopher Speller
2016-02-11 08:08:26 -05:00
родитель f2a6826890 de9581a838
Коммит 4ffbd3642e

Просмотреть файл

@@ -535,7 +535,15 @@ function FloatingTimestamp({isScrolling, post}) {
return <noscript />;
}
const dateString = Utils.getDateForUnixTicks(post.create_at).toDateString();
const dateString = (
<FormattedDate
value={post.create_at}
weekday='short'
day='2-digit'
month='short'
year='numeric'
/>
);
let className = 'post-list__timestamp';
if (isScrolling) {