Skip to content

Commit

Permalink
chore: contextual
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 committed Oct 22, 2024
1 parent 2804499 commit 0955588
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion framework/core/js/src/admin/components/UserListPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ export default class UserListPage extends AdminPage {
name: app.translator.trans('core.admin.users.grid.columns.join_time.title'),
content: (user: User) => (
<span className="UserList-joinDate" title={user.joinTime()}>
{app.translator.formatDateTime(dayjs(user.joinTime()), 'core.lib.datetime_formats.fullTimeShort')}
{app.translator.formatDateTime(dayjs(user.joinTime()), 'core.lib.datetime_formats.userListJoinDate')}
</span>
),
},
Expand Down
2 changes: 1 addition & 1 deletion framework/core/locale/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ core:
# These are DayJS formats used in core.
datetime_formats:
fullTime: LLLL
fullTimeShort: LLL
userListJoinDate: LLL
humanTimeShort: D MMM
humanTimeLong: ll
scrubber: MMMM YYYY
Expand Down

0 comments on commit 0955588

Please sign in to comment.