diff --git a/app/api/utils.ts b/app/api/utils.ts
index af3a4c3..f1f4b8d 100644
--- a/app/api/utils.ts
+++ b/app/api/utils.ts
@@ -212,9 +212,9 @@ export function unixToDate(
" " +
date.getFullYear() +
", " +
- date.getHours() +
+ `${date.getHours()}`.padStart(2, "0") +
":" +
- date.getMinutes()
+ `${date.getMinutes()}`.padStart(2, "0")
);
if (type === "dayMonth")
return date.getDate() + " " + months[date.getMonth()];
diff --git a/app/components/Profile/Profile.ReleaseRatings.tsx b/app/components/Profile/Profile.ReleaseRatings.tsx
index 75af80d..0808d0a 100644
--- a/app/components/Profile/Profile.ReleaseRatings.tsx
+++ b/app/components/Profile/Profile.ReleaseRatings.tsx
@@ -51,33 +51,31 @@ export const ProfileReleaseRatings = (props: any) => {
Посмотреть все
-
-
- {props.ratings.map((release) => {
- return (
-
-
-
-
-
{release.title_ru}
-
- = 1} />
- = 2} />
- = 3} />
- = 4} />
- = 5} />
-
-
- {unixToDate(release.voted_at, "full")}
-
-
+
+ {props.ratings.map((release) => {
+ return (
+
+
+
-
- );
- })}
-
+
+
{release.title_ru}
+
+ = 1} />
+ = 2} />
+ = 3} />
+ = 4} />
+ = 5} />
+
+
+ {unixToDate(release.voted_at, "full")}
+
+
+
+
+ );
+ })}
{
);
}
-
- const isPrivacy =
- user.is_stats_hidden || user.is_counts_hidden || user.is_social_hidden;
-
return (
<>
@@ -73,23 +69,39 @@ export const ProfilePage = (props: any) => {
ban_expires={user.ban_expires}
/>
-
+
{
edit_setIsOpen={setIsOpen}
/>
)}
-
-
-
- {/*
-
-
{!user.is_counts_hidden && (
{
/>
)}
{!user.is_stats_hidden && (
-
+
{user.votes && user.votes.length > 0 && (
{
profile_id={user.id}
/>
)}
- {user.history && user.history.length > 0 && (
-
- )}
)}
-
-
+
{!user.is_stats_hidden && (
<>
{
profile_id={user.id}
/>
-
+
{user.votes && user.votes.length > 0 && (
{
profile_id={user.id}
/>
)}
- {user.history && user.history.length > 0 && (
-
- )}
+ {user.history && user.history.length > 0 && (
+
+ )}
>
)}
- */}
+