Adam Shaw 9 rokov pred
rodič
commit
48c064b542

+ 1 - 1
src/Calendar.js

@@ -291,7 +291,7 @@ var Calendar = FC.Calendar = Class.extend({
 				});
 			}
 			else {
-				this.currentDate = this.moment(zonedDateInput).stripZone(); // just like gotoDate
+				this.currentDate = this.moment(dateOrRange).stripZone(); // just like gotoDate
 			}
 		}
 

+ 3 - 0
tests/automated-better/view-dates/dateAlignment.js

@@ -1,4 +1,7 @@
 
+/*
+SEE ALSO: next/prev
+*/
 describe('dateAlignment', function() {
 	pushOptions({
 		defaultView: 'agenda',

+ 3 - 0
tests/automated-better/view-dates/dateIncrement.js

@@ -0,0 +1,3 @@
+/*
+SEE: prev/next
+*/

+ 1 - 1
tests/automated-better/view-dates/validRange.js

@@ -1,5 +1,5 @@
 
-describe('validRange dates', function() {
+describe('validRange', function() {
 	pushOptions({
 		defaultDate: '2017-06-08'
 	});