Skip to content

Commit 7863133

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 3d98386 + 3a7a025 commit 7863133

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

readme.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@ Date fields in models will have the date picker added.
1717

1818
Configure as part of your Angular app configuration as follows:
1919

20-
```myApp.config(['uiDateConfig', function(uiDateConfig) {
21-
angular.extend(uiDateConfig, {
20+
```
21+
myApp.config(['uiDateConfig', function(uiDateConfig) {
22+
angular.extend(uiDateConfig, {
2223
dateFormat: 'dd/mm/yy', // UK date format
2324
firstDay: 1 // Monday week start
24-
});
25+
});
26+
}]);
2527
```
2628

2729
For detailed options see the documentation at http://jqueryui.com/datepicker/

0 commit comments

Comments
 (0)