aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPete Bacon Darwin2013-05-07 11:43:25 +0100
committerPete Bacon Darwin2013-05-07 11:43:25 +0100
commitf046f6f73c910998a94f30a4cb4ed087b6325485 (patch)
tree7c0b79e931984a30a5c9731e7827b16ab07f9031 /test
parent52c1498e25992f93ada72ea0621755ff2242b97f (diff)
downloadangular.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 'test')
0 files changed, 0 insertions, 0 deletions