Date picker wider than between 1970-2030

I would like to put a date before 1970 to a album. At this moment it can only be a date between 1970 and 2030. I see the date is handled bij moment.js.

See date and time handling wiki on UNA.

I found out that (moment-timezone-with-data-1970-2030.min.js) is located in plugins_public folder. I quess i need the file "moment-timezone-with-data.js". How can i let the date picker in my site use this file?

  • 736
  • More
Replies (3)
    • Hello @Ronald !

      If you add a new date field to the form, choose the "Date" value for the "Process data as" field during creation. Then your field will not be limited with the Unix epoch (1970 started).

      • Thanks LeonidS, this works.

        The only thing that appears now is that you need to fill in a date. If not i shows Invalid date in the info box. When you use Date as Unix Time Stamp or UTC Date as Unix Time Stamp it just doesn't show up in the infobox.

        So i just fill in a date 😀 and i can go back to use a date before 1970 whenever i need to.

        image_transcoder.php?o=sys_images_editor&h=1530&dpx=1&t=1693214172

        • @Ronald I am trying to respond to you via messenger but it seems you have disabled the ability to be contacted

          Login or Join to comment.