Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This is a bug about the nextcloud date translation issue. #17430

Closed
x-man97 opened this issue Oct 6, 2019 · 2 comments
Closed

This is a bug about the nextcloud date translation issue. #17430

x-man97 opened this issue Oct 6, 2019 · 2 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@x-man97
Copy link

x-man97 commented Oct 6, 2019

Steps to reproduce

Modify the language of Nextcloud to any language other than English (eg Chinese).

Expected behaviour

All dates in Nextcloud should be translated into the corresponding language. For example, if I change the language to Chinese, the modified date of the stored files in Nextcloud should be Chinese date.

Actual behaviour

The date is not correctly translated into the corresponding language format and is still in English.

Server configuration

Operating system:
Centos 7
Web server:
Nginx
Database:
Mysql
PHP version:
php7.2
Nextcloud version: (see Nextcloud admin page)
17.0.0.0
Updated from an older Nextcloud/ownCloud or fresh install:
fresh install
Where did you install Nextcloud from:
Nextcloud official website(www.nextcloud.com)
Signing status:
No signature
List of activated apps:
default
Nextcloud configuration:
default
Are you using external storage, if yes which one: local/smb/sftp/...
No
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
No

@x-man97 x-man97 added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Oct 6, 2019
@x-man97
Copy link
Author

x-man97 commented Oct 6, 2019

I found that modifying the ‘p.a.locale(c.a.getLocale())’ in ‘core/js/dist/main.js’ to the 'p.a.locale(c.a.getLanguage())' field can debug this bug. However, in the Nextcloud page, this bug still exists in Settings->Personal->Security->Devices & sessions->Last activity.

@kesselb
Copy link
Contributor

kesselb commented Oct 6, 2019

Ref #14784

@x-man97 x-man97 closed this as completed Oct 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug
Projects
None yet
Development

No branches or pull requests

2 participants