mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 15:40:22 +00:00
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 |
||
|---|---|---|
| .. | ||
| auto | ||
| bootstrap | ||
| ng | ||
| ngCookies | ||
| ngLocale | ||
| ngMock | ||
| ngResource | ||
| ngSanitize | ||
| ngScenario | ||
| angular-bootstrap.js | ||
| Angular.js | ||
| angular.prefix | ||
| angular.suffix | ||
| AngularPublic.js | ||
| apis.js | ||
| jqLite.js | ||
| loader.js | ||
| loader.prefix | ||
| loader.suffix | ||
| module.prefix | ||
| module.suffix | ||
| publishExternalApis.js | ||