Fix localization on floating timestamp
Этот коммит содержится в:
@@ -535,7 +535,15 @@ function FloatingTimestamp({isScrolling, post}) {
|
|||||||
return <noscript />;
|
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';
|
let className = 'post-list__timestamp';
|
||||||
if (isScrolling) {
|
if (isScrolling) {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user