You found a bug! We've classified it as
EXTJS-27626
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
-
[MODERN] duplicated days in datepanel
Duplicated days on calendar panel
Ext JS 6.6.0
Double february 17th, sometimes November 4th, sometimes October 28th. scroll left and right to see the issue.
https://fiddle.sencha.com/#view/editor&fiddle/2mng
http://examples.sencha.com/extjs/6.6...panel-date-adv
-
I've just run into this one myself.
See also this bug report which also mentions October 28th.
Coincidentally, daylight saving time ends (here in the UK) on October 28th. Some kind of bug in core date handling where offsets are involved?
-
Further info confirming my suspicion. I changed my computer time zone to UTC (from "London"). (Running Windows 10).
Refreshing the example now sees the calendar fixed.
-
This appears to be a regression introduced in 6.6.0.
The example for 6.5.3 does not have this bug.
-
Ironically, the release notes for 6.6.0 say for Calendar: "EXTJS-24466 All day events the week after the beginning or end of DST span multiple days".
Anyway, for anyone who cares, the changed code that is causing the regression in the date picker is around line 1694 of ext/packages/core/src/lang/Date.js
-
I have opened a support ticket and JIRA number for this bug is now EXTJS-27626. I`m gonna ask sencha to link the issue number to this thread.
-
Touch Premium Member
We just changed from Daylight to Standard in the US and it fails here too, even in KitchenSink for Ext JS 6.6.0. The problem seems to be that the cellMap is not handling a month with both DST and standard time. So it blows up in Ext.panel.DateView getCellByDate.
-
Twitter - @evantrimboli
Former Sencha framework engineer, available for consulting.
As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.
-

Originally Posted by
evant
User just reported this, found your fix. Hero as ever. Thanks
-
Now the clocks have changed in the UK it seems to have broken the calendar displaying at all in 6.6.0
ext-modern-all-debug.js:119939 Uncaught TypeError: Cannot read property 'addCls' of null
at constructor.initialize (ext-modern-all-debug.js:119939)
at constructor (ext-modern-all-debug.js:38163)
at constructor.callParent (ext-modern-all-debug.js:8681)
at constructor (ext-modern-all-debug.js:59392)
at new Ext.panel.Date (ext-modern-all-debug.js:9198)
at eval (eval at getInstantiator (ext-modern-all-debug.js:10311), <anonymous>:3:8)
at Object.create (ext-modern-all-debug.js:10497)
at constructor.applyPicker (ext-modern-all-debug.js:115921)
at constructor.callParent (ext-modern-all-debug.js:8681)
at constructor.applyPicker (ext-modern-all-debug.js:121013)