Update to Angular 1.1.4
This commit is contained in:
parent
72a485d6e8
commit
f5fc1369ad
585 changed files with 48055 additions and 3041 deletions
5
lib/angular/docs/partials/api/angular.mock.TzDate.html
Normal file → Executable file
5
lib/angular/docs/partials/api/angular.mock.TzDate.html
Normal file → Executable file
|
@ -2,10 +2,10 @@
|
|||
<span class="hint">(API in module <code ng:non-bindable="">ng</code>
|
||||
)</span>
|
||||
</h1>
|
||||
<div><h2 id="Description">Description</h2>
|
||||
<div><a href="http://github.com/angular/angular.js/edit/master/src/ngMock/angular-mocks.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
|
||||
<div class="description"><p><em>NOTE</em>: this is not an injectable instance, just a globally available mock class of <code>Date</code>.</p>
|
||||
|
||||
<p>Mock of the Date type which has its timezone specified via constroctor arg.</p>
|
||||
<p>Mock of the Date type which has its timezone specified via constructor arg.</p>
|
||||
|
||||
<p>The main purpose is to create Date-like instances with timezone fixed to the specified timezone
|
||||
offset, so that we can test code that depends on local timezone settings without dependency on
|
||||
|
@ -36,5 +36,6 @@ newYearInBratislava.getMonth() => 0;
|
|||
newYearInBratislava.getDate() => 1;
|
||||
newYearInBratislava.getHours() => 0;
|
||||
newYearInBratislava.getMinutes() => 0;
|
||||
newYearInBratislava.getSeconds() => 0;
|
||||
</pre></div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue