Skip to content

1.0.0

Compare
Choose a tag to compare
@dpoetzsch dpoetzsch released this 23 May 16:43
· 86 commits to master since this release

Breaking changes

  • Default: 24 hours time format instead of am/pm. Use mdp-ampm to switch.
  • mdp-min-date and mdp-max-date of mdp-date-picker now take either a Date object or a string formatted using mdp-format (they used to take only a string in YYYY-MM-DD format).

Features

  • Support for angular 1.6 (thanks to Andrea Vega)
  • Support for 24 hours format.
    This includes an attribute mdp-ampm to switch between 24/12 (disabled by default) (thanks to Matteo Gaggiano)
  • Option to set the parent element of the dialogs. This is needed for correct theme inheritance in angular-material pre 1.1.1 (see angular-material issue #525) (thanks to David Poetzsch-Heffter)
  • Possibility to specify input name via mdp-input-name in order to allow for ng-messages (thanks to David Poetzsch-Heffter)
  • mdp-min-date and mdp-max-date also allow passing a Date object (thanks to David Poetzsch-Heffter)
  • mdp-time-picker now takes validation attributes mdp-min-time and mdp-max-time which are either Date objects or strings formatted using mdp-format (thanks to David Poetzsch-Heffter)

Bugfixes

Housekeeping

  • Converted all tabs to spaces (using 4 spaces everywhere now)
  • Removed trailing whitespace