server
server copied to clipboard
[Bug]: Files sharing expiration date is not displayed in profile locale format
⚠️ This issue respects the following points: ⚠️
- [X] This is a bug, not a question or a configuration/webserver/proxy issue.
- [X] This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- [X] Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- [X] I agree to follow Nextcloud's Code of Conduct.
Bug description
The displayed date in file expiration menu is not using the profile defined (locale) date format.
In my case, the use profile is defined as the following with date in the format DD/MM/YYYY.
The expiration menu is using another format MM/DD/YYYY which create misunderstanding when you are typing the date directly.
Steps to reproduce
- Define your profile locale to France and your language to British.
- Go to the file app
- Share a file and set an expiration date.
Expected behavior
The date format should be the one defined in profile locale. Otherwise, a warn note is welcome.
Installation method
Community Manual installation with Archive
Nextcloud Server version
27
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
- [X] Default user-backend (database)
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
Configuration report
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"version": "27.0.0.8",
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"maxZipInputSize": 838860800,
"loglevel": 2,
"debug": false,
"maintenance": false,
"forcessl": true,
"theme": "",
"trusted_domains": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"singleuser": false,
"mail_smtpport": "587",
"mail_smtpsecure": "tls",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_smtpdebug": false,
"apps_paths": [
{
"path": "\/var\/www\/nextcloud\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/nextcloud\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"blacklisted_files": [],
"data-fingerprint": "***REMOVED SENSITIVE VALUE***",
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"filelocking.enabled": true,
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"allow_user_to_change_display_name": true,
"activity_expire_days": 7300,
"remember_login_cookie_lifetime": 604800,
"session_lifetime": 43200,
"auth.bruteforce.protection.enabled": true,
"token_auth_enforced": false,
"enable_previews": true,
"enabledPreviewProviders": [
"OC\\Preview\\Image",
"OC\\Preview\\Movie",
"OC\\Preview\\MP3",
"OC\\Preview\\TXT",
"OC\\Preview\\MarkDown",
"OC\\Preview\\OpenDocument"
],
"preview_max_x": 1920,
"preview_max_y": 1080,
"preview_max_scale_factor": 1,
"mail_sendmailmode": "smtp",
"mysql.utf8mb4": true,
"skeletondirectory": "",
"app_install_overwrite": "***REMOVED SENSITIVE VALUE***",
"simpleSignUpLink.shown": false,
"default_phone_region": "FR",
"knowledgebaseenabled": false,
"overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
"updater.release.channel": "stable"
}
}
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response