angular.js/test/ng
Philip Roberts 8d34bf2fea fix(date): invert timezone sign and always display sign
This commit fixes #1261 and #1532. This covers
two separate issues:

- Positive timezones were being formatted without
a leading `+` resulting in a formatting string
like: "HH:MM:ssZ" giving "12:13:141000" instead
of "12:13:14+1000". Fixed by checking if timezone
is > 0 and adding a leading "+".

- Timezone output signs were inverted.
mock.TzDate expects the timezone _offset_ as it's
first argument, _not_ the timezone. This means
that a mock.TzDate with a positive offset should
result in a date string with a negative timezone,
and vice-versa.

Closes #1261, #1532
2013-02-07 01:47:19 -08:00
..
directive fix(ngSwitch): don't leak when destroyed while not attached 2013-01-18 00:03:42 -08:00
filter fix(date): invert timezone sign and always display sign 2013-02-07 01:47:19 -08:00
anchorScrollSpec.js fix($sniffer): report history false on Android < 4 2012-05-14 15:12:51 -07:00
browserSpecs.js refactor($browser): remove faulty 20+ cookies warning 2013-01-08 14:27:51 -08:00
cacheFactorySpec.js fix($cacheFactory): return undefined when removing non-existent entry 2012-11-24 21:58:17 +01:00
compileSpec.js feat(Scope): expose transcluded and isolate scope info for batarang 2013-01-30 10:44:35 -05:00
controllerSpec.js chore(controller): allow setting map of controllers 2012-05-04 15:50:37 -07:00
documentSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
exceptionHandlerSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
httpBackendSpec.js chore($browser): remove the addJs method 2012-04-09 17:59:47 -07:00
httpSpec.js fix($http): add utf-8 to default Content-Type header (post/put) 2012-06-08 16:07:15 -07:00
interpolateSpec.js fix($parser): string concatination with undefined model 2012-09-06 15:49:48 -07:00
localeSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
locationSpec.js fix($location): reset $location.$$replace with every watch call 2012-11-26 23:24:39 +01:00
logSpec.js fix($sniffer): report history false on Android < 4 2012-05-14 15:12:51 -07:00
parseSpec.js fix($parse): support methods on falsy primitive types 2012-05-05 03:30:19 +02:00
qSpec.js fix($q): $q.reject should forward callbacks if missing 2012-04-02 10:14:04 -07:00
rootElementSpec.js feat($rootElement): added application root element 2012-06-02 14:50:58 -07:00
rootScopeSpec.js fix(Scope): ensure that a scope is destroyed only once 2012-11-30 13:09:50 +01:00
routeParamsSpec.js fix($route): support route params not separated with slashes. 2013-01-16 09:42:35 -08:00
routeSpec.js fix($route): support route params not separated with slashes. 2013-01-16 09:42:35 -08:00
snifferSpec.js fix($sniffer): report history false on Android < 4 2012-05-14 15:12:51 -07:00
timeoutSpec.js fix($timeout): allow calling $timeout.cancel() with undefined 2012-06-04 17:43:14 -07:00
windowSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00