Results 1 to 2 of 2

Thread: Problem with datefield and monthNames

  1. #1

    Default Answered: Problem with datefield and monthNames

    Hi, I 'm working on and I need extjs 5.0 datefield formatted drive a ' day month year ' but in Spanish . I declare the array monthNames ; but selecting some months I return to the current month. For example , if I select the 5 Sept. take it correctly, but if I select the December 5 me back to September and do not get the correct value. As an example here is the link with the example https://fiddle.sencha.com/#fiddle/t6u
    Thank you for your help

  2. I think you may also need to define the monthNumbers for the short and long text:

    https://fiddle.sencha.com/#fiddle/tbk

  3. #2
    Sencha - Sustaining Engineer tristan.lee's Avatar
    Join Date
    Mar 2015
    Location
    Central Ohio
    Posts
    1,579
    Answers
    165

    Default

    I think you may also need to define the monthNumbers for the short and long text:

    https://fiddle.sencha.com/#fiddle/tbk
    Tristan Lee
    Sencha Inc - Sustaining Engineer


    Having an issue? Help us help you - be detailed; provide some code; demonstrate with a fiddle (fiddle.sencha.com)

    Embed your fiddle in your post: [FIDDLE]id[/FIDDLE]

Similar Threads

  1. Ext.Date monthNames, monthNumbers, getMonthNumber
    By smaria.crisan in forum Ext: Q&A
    Replies: 2
    Last Post: 25 Nov 2011, 4:38 AM
  2. dateField value problem
    By lalit_ce in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 26 Apr 2011, 2:34 AM
  3. Date.monthNames and NaN issues
    By leon.i in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 24 Aug 2009, 2:51 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •