Skip to content

Commit

Permalink
Update ADM-dateTimePicker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartm authored Aug 21, 2017
1 parent 0957cca commit 46b7f0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dist/ADM-dateTimePicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,8 @@
}

scope.today = function() {
var _standValue = new Date().setHours(0,0,0,0);
var _standValue = new Date();
_standValue.setHours(0,0,0,0);

if (scope.calType == 'jalali')
_standValue = ADMdtpFactory.convertToJalali(_standValue);
Expand Down

0 comments on commit 46b7f0b

Please sign in to comment.