We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14752
    • 8 Posts
    hi all


    in modx admin side we have calendar ,this calelndar give us date in dd-mm-yy format

    how can i change format to yy-mm-dd


    thanks in advance


      • 22303 MODX Staff
      • 10,725 Posts
      You’ll need to provide more information to get support. What Calendar software do you mean? And version? What version of MODx?

      Help us help you...
        • 14752
        • 8 Posts
        version :latest version 0.9.6.1

        files in :manager/media/calendar/calendar.html
        manager/media/script/datefunction.js

        u can see the demo in admin side when u create new document or in admin side site=>new document=>page settings

        the calendar is in dd-mm--yy format

        i want to change it to yy-mm--dd


        calendar software modx using is
        u can find this in "manager/media/calendar/calendar.html"
        "
        Title: Tigra Calendar
        URL: http://www.softcomplex.com/products/tigra_calendar/
        Version: 3.2
        Date: 10/14/2002 (mm/dd/yyyy)
        "
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          The timestamp parsing is in manager/actions/mutate_content.dynamic.php, beginning with line 117.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 14752
            • 8 Posts
            i want to change date format for all pages in admin side .

            i mean not only for site=>New document=>Page setting

            can we do it from manager/media/script/datefunction.js and manager/media/calendar/calendar.html

            so every time when calendar is called it will display date in yy-mm-dd format .

            so that it will get reflect in all pages in admin side.

            is it okay.

            because in new tigra calendar they are doing it with calendar.html and .js file.