angular.js/test/ng
Philip Roberts b001c8ece5 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:32:04 -08:00
..
directive feat(directive): added ng-open boolean directive 2013-01-18 21:16:16 -08:00
filter fix(date): invert timezone sign and always display sign 2013-02-07 01:32:04 -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:23:50 -08:00
cacheFactorySpec.js feat($cacheFactory): cache.put now returns the added value 2012-11-25 00:01:34 +01:00
compileSpec.js feat(Scope): expose transcluded and isolate scope info for batarang 2013-01-30 10:42:56 -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 feat($http): support reponseType 2012-08-10 16:17:59 -07:00
httpSpec.js fix($http): only set X-XSFR-TOKEN header for same-domain request 2012-11-26 23:58:59 +01:00
interpolateSpec.js fix($parser): string concatination with undefined model 2012-09-06 16:06:21 -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:21:02 +01:00
logSpec.js feat($log): add $log.debug() 2013-01-17 16:47:39 -08:00
parseSpec.js feat($parse): allow strict equality in angular expressions 2013-01-17 23:08:38 -08: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:10:00 +01:00
routeParamsSpec.js fix($route): support route params not separated with slashes. 2013-01-16 09:41:02 -08:00
routeSpec.js feat(route): Allow using functions as template params in 'when' 2013-01-18 21:20:49 -08:00
snifferSpec.js fix(CSP): update to the latest CSP api 2012-11-15 01:46:58 +01: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