Web: Client: set user's locale in getting document dates
This commit is contained in:
parent
a938eb6f3e
commit
1bbce8326d
@ -38,7 +38,7 @@ export default function withContent(WrappedContent) {
|
||||
const { culture, item, personal } = this.props;
|
||||
const { created, updated } = item;
|
||||
|
||||
const locale = personal ? getCookie(LANGUAGE) : culture;
|
||||
const locale = getCookie(LANGUAGE) || culture;
|
||||
|
||||
const date = create ? created : updated;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user