jQWidgets Forums

jQuery UI Widgets Forums General Discussions jqxDateTimeInput with globalize.culture.pt-BR

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 5 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • m1st3ri0
    Participant

    Hi,

    I trying to use the jqxDateTimeInput with globalize.culture.pt-BR.
    It’s works quite well, but when i try to use the stringFormat: ‘Y’ with culture pt-BR it doesn’t work.
    The format is “MMMM’ de ‘yyyy”. But the letter ‘d’ is used to convert to number and the response show me “junho 8e 2020″

    I changed the pattern to “MMMM’ De ‘yyyy”, but this single letter, in the whole text, in capital letters, bothers me a lot.
    How can i solve this problem? There is any way for this problem?

    Att,
    Kilmer


    Hristo
    Participant

    Hello m1st3ri0,

    One of the options that I could suggest to you is that you mentioned with the D” symbol.
    Another option is to use the jqxMaskedInput.
    Also, I would like to suggest you try to transform the jqxGrid to looks like the jqxDateTimeInput.
    With the cellsrenderer callback you could change the value in the cell.
    Please, take a look at this example below which demonstrates similar transformation for the jqxNumberInput:
    http://jsfiddle.net/hristoxux/8nxrh6sj/

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.