Results 1 to 2 of 2

Thread: [Modern]Wrong DatePicker when start of week is Monday

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-25671 in 6.5.1.
  1. #1
    Sencha Premium User
    Join Date
    Jan 2017
    Posts
    12

    Default [Modern]Wrong DatePicker when start of week is Monday

    When the start of week is Monday, the monday in the date panel view has the weekend cls

    Screenshot 2017-06-22 um 21.11.17.png

    The bug is in the class Ext.panel.DateView line 177
    Code:
    cell.toggleCls(weekendCls, !!weekendDays[i]);
    The correct index for weekdays is:
    Code:
    cell.toggleCls(weekendCls, !!weekendDays[(i + dayIndex) % 7]);

  2. #2
    Sencha Premium User
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,258

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

Similar Threads

  1. [OPEN] ExtJS 6.0.2.408 - Modern - Datepicker wrong selection
    By Lukappa in forum Ext JS 6.x Bugs
    Replies: 2
    Last Post: 23 Mar 2016, 6:01 AM
  2. Replies: 3
    Last Post: 10 Sep 2013, 3:27 AM
  3. Ext.calendar.Calendar from the examples - start week at monday
    By tiago.teixeira in forum Sencha Ext JS Q&A
    Replies: 4
    Last Post: 25 Sep 2012, 5:32 AM
  4. How to start calendar from monday?
    By evil_elf in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 30 Mar 2010, 4:23 AM
  5. Get Monday of week
    By anykey in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 2 Dec 2009, 3:27 AM

Posting Permissions

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