Skip to content

Commit

Permalink
fix(datepicker): Add way to get original date
Browse files Browse the repository at this point in the history
  • Loading branch information
stormojm committed Sep 21, 2018
1 parent a4d7076 commit 9eb6c24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/datepicker/datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ angular.module('ui.bootstrap.datepicker', ['ui.bootstrap.dateparser', 'ui.bootst
scope.labels = new Array(7);
for (var j = 0; j < 7; j++) {
scope.labels[j] = {
date: days[j].date,
abbr: dateFilter(days[j].date, this.formatDayHeader),
full: dateFilter(days[j].date, 'EEEE')
};
Expand Down

0 comments on commit 9eb6c24

Please sign in to comment.