Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    [User Manager] I can not know the expiration date of a user set out above

    Scheduled Pinned Locked Moved webGUI
    14 Posts 6 Posters 3.1k Views
    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.
    • jdillardJ Offline
      jdillard
      last edited by

      I added the jquery datepicker for the custom dates in Status > Monitoring and it can be reused elsewhere. It shouldn't be too hard to implement here if that is the case.

      1 Reply Last reply Reply Quote 0
      • J Offline
        jdik
        last edited by

        @Steve_B:

        Thanks for the report.

        I believe you are saying that prior to version 2.3 there was a graphical date picker, whereas in 2.3+ the date must be entered as mm/dd/yyyy. Is that correct?

        The specification for HTML5 defines an element type of "date", but unfortunately it seems to me that it is not supported by any browsers other than Opera at the moment :(

        Mi inglés es muy malo, creo que una imagen muestra mejor.

        Captura2.PNG
        Captura2.PNG_thumb

        1 Reply Last reply Reply Quote 0
        • jdillardJ Offline
          jdillard
          last edited by

          Ah, gracias. It looks like when you go to edit a user, it doesn't show the date that you previously set. It reverts back to showing mm/dd/yyyy.

          To replicate create a new user and set an expiration date. Hit Save. Then edit the user and look at the expiration field.

          1 Reply Last reply Reply Quote 0
          • H Offline
            heper
            last edited by

            @jd your procedure works just fine for me, the date is there (running todays build)

            1 Reply Last reply Reply Quote 0
            • J Offline
              jdik
              last edited by

              @jdillard:

              Ah, gracias. It looks like when you go to edit a user, it doesn't show the date that you previously set. It reverts back to showing mm/dd/yyyy.

              To replicate create a new user and set an expiration date. Hit Save. Then edit the user and look at the expiration field.

              I did what you told me, but the problem persists.

              1 Reply Last reply Reply Quote 0
              • jdillardJ Offline
                jdillard
                last edited by

                @heper:

                @jd your procedure works just fine for me, the date is there (running todays build)

                hrm. This is a gif from 2.3.1-RELEASE using chrome: https://i.imgur.com/RHMSzxO.gifv

                edit: Seems to be a browser issue with the date input field. I opened Firefox after making the gif and the field was blank. I typed 04/23/2017 into the field and hit save. Then hit edit and the date was there. If I check in Chrome after that it still shows mm/dd/yyyy.

                1 Reply Last reply Reply Quote 0
                • S Offline
                  Steve_B Netgate
                  last edited by

                  I have changed the element type from "date" to "text". It seems that browsers don't really support the "date" type consistently yet.

                  Als ik kan

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    heper
                    last edited by

                    the horror of webbrowsers … i wonder why they bother to make html standards at all, seems the inconsistency is the same as a decade ago

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      divsys
                      last edited by

                      ….seems the inconsistency is the same as a decade ago

                      No, no, no, you just aren't seeing it clearly - the performance of the inconsistencies is so much better than 10 years ago  ::)

                      -jfp

                      1 Reply Last reply Reply Quote 0
                      • GertjanG Offline
                        Gertjan
                        last edited by

                        Added to that:
                        In the beginning, we had that very motivated bunch of programmers living in Redmond writing an OS, a text editor etc.
                        They also wanted a web navigator : they gave us IE.

                        Today, two decades later, the dust around IE finally starts to settle.

                        Another company, with other new motivations (more like data mining at the user's device …) started to write a new navigator.
                        But WE, as users, we learned our lessons well during the last 20 years : STAY AWAY from new browsers ... or eat dust  :)

                        No "help me" PM's please. Use the forum, the community will thank you.
                        Edit : and where are the logs ??

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          jdik
                          last edited by

                          @Steve_B:

                          I have changed the element type from "date" to "text". It seems that browsers don't really support the "date" type consistently yet.

                          I am still waiting for the solution, I have already upgraded to the latest version.  :-[

                          1 Reply Last reply Reply Quote 0
                          • jdillardJ Offline
                            jdillard
                            last edited by

                            I didn't make it in the last release, it is (will be) in 2.3.2 though.

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.