server icon indicating copy to clipboard operation
server copied to clipboard

[Bug]: Files sharing expiration date is not displayed in profile locale format

Open seblu opened this issue 2 years ago • 0 comments

⚠️ This issue respects the following points: ⚠️

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. Screenshot_20230618_122443

The expiration menu is using another format MM/DD/YYYY which create misunderstanding when you are typing the date directly. Screenshot_20230618_122824

Steps to reproduce

  1. Define your profile locale to France and your language to British.
  2. Go to the file app
  3. 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

seblu avatar Jun 18 '23 10:06 seblu