Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15400492
D14409.id34819.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D14409.id34819.diff
View Options
diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -453,7 +453,7 @@
'rsrc/js/core/behavior-device.js' => 'a205cf28',
'rsrc/js/core/behavior-drag-and-drop-textarea.js' => '6d49590e',
'rsrc/js/core/behavior-error-log.js' => '6882e80a',
- 'rsrc/js/core/behavior-fancy-datepicker.js' => '665cf6ac',
+ 'rsrc/js/core/behavior-fancy-datepicker.js' => '8ae55229',
'rsrc/js/core/behavior-file-tree.js' => '88236f00',
'rsrc/js/core/behavior-form.js' => '5c54cbf3',
'rsrc/js/core/behavior-gesture.js' => '3ab51e2c',
@@ -586,7 +586,7 @@
'javelin-behavior-durable-column' => 'c72aa091',
'javelin-behavior-error-log' => '6882e80a',
'javelin-behavior-event-all-day' => '38dcf3c8',
- 'javelin-behavior-fancy-datepicker' => '665cf6ac',
+ 'javelin-behavior-fancy-datepicker' => '8ae55229',
'javelin-behavior-global-drag-and-drop' => 'c8e57404',
'javelin-behavior-herald-rule-editor' => '7ebaeed3',
'javelin-behavior-high-security-warning' => 'a464fe03',
@@ -1294,13 +1294,6 @@
'javelin-vector',
'differential-inline-comment-editor',
),
- '665cf6ac' => array(
- 'javelin-behavior',
- 'javelin-util',
- 'javelin-dom',
- 'javelin-stratcom',
- 'javelin-vector',
- ),
'6882e80a' => array(
'javelin-dom',
),
@@ -1500,6 +1493,13 @@
'javelin-install',
'javelin-dom',
),
+ '8ae55229' => array(
+ 'javelin-behavior',
+ 'javelin-util',
+ 'javelin-dom',
+ 'javelin-stratcom',
+ 'javelin-vector',
+ ),
'8b3fd187' => array(
'javelin-install',
'javelin-util',
diff --git a/webroot/rsrc/js/core/behavior-fancy-datepicker.js b/webroot/rsrc/js/core/behavior-fancy-datepicker.js
--- a/webroot/rsrc/js/core/behavior-fancy-datepicker.js
+++ b/webroot/rsrc/js/core/behavior-fancy-datepicker.js
@@ -300,10 +300,10 @@
// Render the calendar itself. NOTE: Javascript uses 0-based month indexes
// while we use 1-based month indexes, so we have to adjust for that.
var days = [];
- var start = new Date(
+ var start = (new Date(
valid_date.getYear() + 1900,
valid_date.getMonth(),
- 1).getDay() - week_start;
+ 1).getDay() - week_start + 7) % 7;
while (start--) {
days.push(cell('', null, false, 'day-placeholder'));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mar 18 2025, 11:59 AM (5 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7709106
Default Alt Text
D14409.id34819.diff (2 KB)
Attached To
Mode
D14409: Fix start in fancy datepicker calendar
Attached
Detach File
Event Timeline
Log In to Comment