mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Minor update to comment - to allow a new commit
This commit is contained in:
parent
e16f616145
commit
8a699244b3
@ -1,8 +1,10 @@
|
||||
/// <reference path="date.format.d.ts" />
|
||||
|
||||
// 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');
|
||||
|
||||
2
date.format.js/date.format.d.ts
vendored
2
date.format.js/date.format.d.ts
vendored
@ -3,7 +3,7 @@
|
||||
// Definitions by: Rob Stutton <https://github.com/balrob>
|
||||
// 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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user