Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • sarathy 16 posts 36 karma points
    Apr 09, 2015 @ 16:37
    sarathy
    0

    how to change datepicker formate?

    hi i am using u7 grid datatype in umbraco package.i want to change datepicker format from (YYYYY-MM-DD) to (DD-MM-YYYYY).can you help me?

    code in u7dtg.controller.js file

    var dtgDatePicker = {
                alias: 'u7dtgDatePicker',
                label: '',
                description: '',
                view: 'datepicker',
                config: {
                    format: "YYYY-MM-DD",
                    pickTime: false
                }
            };
    
  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 09, 2015 @ 16:47
    Jan Skovgaard
    0

    Hi Sarathly

    Have you tried changing the format in the config object to DD-MM-YYYY? If so what happened?

    /Jan

  • sarathy 16 posts 36 karma points
    Apr 10, 2015 @ 08:03
    sarathy
    0

    hi jan thanks for your reply...i tried this as you said but no change.another way?

  • Theo Paraskevopoulos 33 posts 122 karma points
    Apr 10, 2015 @ 11:27
    Theo Paraskevopoulos
    1

    I just did the same thing and it worked just fine - what error are you getting?

    format: "DD/MM/YYYY"

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 10, 2015 @ 18:27
    Jan Skovgaard
    0

    Hi Sarathy

    After making the change - Did you then try to clear you web browsers cache and see if it worked? In some situations it might be worth trying to bust the backoffice cache by going to the /config/ClientDependency.config file and bump the version number and then recycle the application pool.

    Worth trying out if you don't see any errors as Theo mentions.

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft