mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
adding an extra DateToUTC assertion
This commit is contained in:
parent
312f93574e
commit
f8865459d5
1 changed files with 1 additions and 0 deletions
|
|
@ -186,6 +186,7 @@ describe('api', function(){
|
|||
var date = new Date("Sep 10 2003 13:02:03 GMT");
|
||||
assertEquals("date", angular.Object.typeOf(date));
|
||||
assertEquals("2003-09-10T13:02:03Z", angular.Date.toString(date));
|
||||
assertEquals(date.getTime(), angular.String.toDate(angular.Date.toString(date)).getTime());
|
||||
});
|
||||
|
||||
it('StringFromUTC', function(){
|
||||
|
|
|
|||
Loading…
Reference in a new issue