angular.js/src
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 docs($injector): clarify $inject property description 2013-01-24 00:18:48 -05:00
bootstrap fix(docs): properly generate angular.js urls in doc examples 2013-01-24 11:36:42 -08:00
ng fix(date): invert timezone sign and always display sign 2013-02-07 01:47:19 -08:00
ngCookies docs($cookies): added example to $cookies api docs 2013-01-29 16:17:12 -08:00
ngLocale chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
ngMock docs(exceptionHandler): document testing 2013-01-17 23:11:02 -08:00
ngResource fix(ngResource): correct leading slash removal. 2013-01-22 11:32:27 -08:00
ngSanitize fix(*): name all anonymous watch functions in Angular 2012-09-11 16:39:46 -07:00
ngScenario fix(scenario): don't trigger input events on IE9 2013-01-16 23:30:16 -08:00
angular-bootstrap.js chore(debug): rewrite angular-bootstrap.js to use $script 2012-05-04 15:50:37 -07:00
Angular.js docs(ngApp): fix typo 2013-02-05 22:14:43 +01:00
angular.prefix chore(license): update to google 2012-04-20 11:29:34 -07:00
angular.suffix fix(init): use jQuery#ready for init if available 2012-03-23 15:41:37 -07:00
AngularPublic.js fix($defer): remove deprecated $defer service 2012-06-12 01:09:07 -07:00
apis.js fix(ngRepeat): attempt to simplify and improve existing fix for #933 2012-11-26 20:39:00 +01:00
jqLite.js docs(jqLite): fix typo 2013-01-20 18:59:43 +01:00
loader.js docs(): Fix a couple of typos in the documentation 2012-11-22 08:28:49 +01:00
loader.prefix chore(license): update to google 2012-04-20 11:29:34 -07:00
loader.suffix feat(module): new module loader 2012-01-10 22:27:00 -08:00
module.prefix chore(module): improved module prefix/suffix code 2012-05-04 15:50:37 -07:00
module.suffix chore(module): improved module prefix/suffix code 2012-05-04 15:50:37 -07:00
publishExternalApis.js chore(Rakefile): get ready for modules 2012-03-28 11:16:36 -07:00