angular.js/test
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
..
auto fix($injector): provider can now be defined in the array format 2012-12-01 19:09:36 +01:00
bootstrap feat(bootstrap): support code prettify and dropdown from bootstrap 2012-05-04 15:50:37 -07:00
ng fix(date): invert timezone sign and always display sign 2013-02-07 01:47:19 -08:00
ngCookies chore(ngCookies): moved to module 2012-03-28 11:16:36 -07:00
ngMock fix($defer): remove deprecated $defer service 2012-06-12 01:09:07 -07:00
ngResource fix(ngResource): correct leading slash removal. 2013-01-22 11:32:27 -08:00
ngSanitize test(ngBindHtml): prevent variable name leak 2013-01-29 15:35:03 -08:00
ngScenario fix(scenario): don't trigger input events on IE9 2013-01-16 23:30:16 -08:00
AngularSpec.js fix(angular.equals): relax the comparison for undefined properties 2013-01-22 07:35:06 -08:00
ApiSpecs.js fix(ng-repeat) to work with primitive types 2012-09-11 16:38:42 -07:00
BinderSpec.js feat(ngModel): update model on each key stroke (revert ngModelInstant) 2012-04-03 10:10:44 -07:00
jqLiteSpec.js fix(jqLite): children() should only return elements 2013-01-09 09:42:05 +00:00
jquery_alias.js fix(specs): fix jQuery to jqLite binding on IE8 2011-09-16 02:44:33 +02:00
jquery_remove.js fix(specs): fix jQuery to jqLite binding on IE8 2011-09-16 02:44:33 +02:00
jQueryPatchSpec.js chore(formating): clean code to be function() { 2011-10-11 11:01:46 -07:00
loaderSpec.js feat($controller): support controller registration via $controllerProvider 2012-03-26 15:23:29 -07:00
matchers.js fix(matchers.toHaveClass): Correct reference to angular.mock.dump 2012-03-19 17:26:29 -07:00
testabilityPatch.js fix(jqLite): children() should only return elements 2013-01-09 09:42:05 +00:00