• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Date format for type="date" input is incorrect

    General
    3
    9
    965
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • TimSchofield
      TimSchofield last edited by

      I am using Opera 115.0.5322.68 on Linux Mint. If I go to the page https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date#try_it the input element is showing 07/22/2018
      The OS uses d/m/y format and Chrome and FireFox show the date correctly as 22/07/2018.
      The only language installed on Opera is English (United Kingdom)
      What is causing this, and how to fix?

      Thanks
      Tim

      Reply Quote 1
        axolos 1 Reply Last reply
      • axolos
        axolos @TimSchofield last edited by

        @TimSchofield Same here. Trying to find a fix for couple of months now. Without luck.
        I am using Opera One(version: 115.0.5322.119) and Opera GX LVL6 (core: 114.0.5282.233) on Windows 10 - both having the same problem.

        Reply Quote 1
          TimSchofield 1 Reply Last reply
        • TimSchofield
          TimSchofield @axolos last edited by

          I am assuming that either:

          1. Nobody from Opera monitors this forum, or
          2. Nobody from Opera cares about this fairly basic failure to implement the HTML specification.

          Both are sad, Opera is a good browser but this makes it unusable for my purposes.

          Tim

          Reply Quote 0
            1 Reply Last reply
          • axolos
            axolos last edited by

            I have found out that the format the date is displayed is governed by the language setting in Opera. After switching the language Opera is displayed in to English (United Kingdom) the format changed to: DD/MM/YYYY. It is still a bit confusing with the slash signs but it works.

            Reply Quote 0
              TimSchofield 1 Reply Last reply
            • TimSchofield
              TimSchofield @axolos last edited by

              @axolos
              Where have you set this. I have this under settings, but the date is still in mm/dd/YYYY format
              Screenshot from 2025-03-24 11-12-39.png

              Reply Quote 0
                1 Reply Last reply
              • axolos
                axolos last edited by

                It is that one.
                You have to though select "Display Opera in this language" and Relaunch:
                16439cac-419d-41fe-bb5e-7f6ee8b7e97b-image.png

                Reply Quote 0
                  1 Reply Last reply
                • TimSchofield
                  TimSchofield last edited by

                  I don't see that option

                  Screenshot from 2025-03-24 13-27-21.png

                  Reply Quote 0
                    burnout426 1 Reply Last reply
                  • burnout426
                    burnout426 Volunteer @TimSchofield last edited by

                    @TimSchofield That option isn't available on Linux. You have to use the --lang=code command-line switch on Linux. You can do that in a terminal or modify the shortcut file for Opera to add it. See https://forums.opera.com/post/380391.

                    Not sure if that will then help with your issue though.

                    Reply Quote 0
                      TimSchofield 1 Reply Last reply
                    • TimSchofield
                      TimSchofield @burnout426 last edited by

                      Thanks @burnout426 and @axolos

                      With a bit of playing around I discovered that the command line switch needed is --lang=en-GB as
                      --lang=en just gives US format for dates.

                      Still seems very obscure for ordinary users to know, but thanks for your help.

                      Tim

                      Reply Quote 1
                        1 Reply Last reply
                      • First post
                        Last post

                      Computer browsers

                      • Opera for Windows
                      • Opera for Mac
                      • Opera for Linux
                      • Opera beta version
                      • Opera USB

                      Mobile browsers

                      • Opera for Android
                      • Opera Mini
                      • Opera Touch
                      • Opera for basic phones

                      • Add-ons
                      • Opera account
                      • Wallpapers
                      • Opera Ads

                      • Help & support
                      • Opera blogs
                      • Opera forums
                      • Dev.Opera

                      • Security
                      • Privacy
                      • Cookies Policy
                      • EULA
                      • Terms of Service

                      • About Opera
                      • Press info
                      • Jobs
                      • Investors
                      • Become a partner
                      • Contact us

                      Follow Opera

                      • Opera - Facebook
                      • Opera - Twitter
                      • Opera - YouTube
                      • Opera - LinkedIn
                      • Opera - Instagram

                      © Opera Software 1995-2025