diff --git a/date.format.js/date.format-tests.ts b/date.format.js/date.format-tests.ts index b14e7efe0b..d06e78cb7a 100644 --- a/date.format.js/date.format-tests.ts +++ b/date.format.js/date.format-tests.ts @@ -1,8 +1,10 @@ /// +// test dateFormat var now : string = dateFormat(); var nowFullDate : string = dateFormat( dateFormat.masks.fullDate ); +// test format() (on the prototype of Date) var then : Date = new Date( 2014, 1, 1 ); var thenDefaultFormat : string = then.format(); var thenCustomFormat : string = then.format('yyyy/m/d HH:MM'); diff --git a/date.format.js/date.format.d.ts b/date.format.js/date.format.d.ts index d40917644a..6e4ef4ea68 100644 --- a/date.format.js/date.format.d.ts +++ b/date.format.js/date.format.d.ts @@ -3,7 +3,7 @@ // Definitions by: Rob Stutton // Definitions: https://github.com/borisyankov/DefinitelyTyped -/* **************************************************************************** +/***************************************************************************** Portions Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the