diff options
| author | Pete Bacon Darwin | 2013-05-07 11:43:25 +0100 |
|---|---|---|
| committer | Pete Bacon Darwin | 2013-05-07 11:43:25 +0100 |
| commit | f046f6f73c910998a94f30a4cb4ed087b6325485 (patch) | |
| tree | 7c0b79e931984a30a5c9731e7827b16ab07f9031 /src/ng/directive/select.js | |
| parent | 52c1498e25992f93ada72ea0621755ff2242b97f (diff) | |
| download | angular.js-f046f6f73c910998a94f30a4cb4ed087b6325485.tar.bz2 | |
fix(dateFilter): correctly format ISODates on Android<=2.1
In older Android browsers, `undefined` does not act like `0` in some
arithmetic operations. This leads to dates being formatted with `NaN`
strings in the dateFilter because the implementation of the `dateGetter`
function allows offset to be an optional parameter.
The fix is to convert offset to 0 if it is undefined.
Closes #2277, #2275
Diffstat (limited to 'src/ng/directive/select.js')
0 files changed, 0 insertions, 0 deletions
