Commit fcb67fd4 authored by 神楽坂玲奈's avatar 神楽坂玲奈

游戏信息

parent e17f2ddb
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
<dt>开发</dt> <dt>开发</dt>
<dd><a href="https://github.com/Fluorohydride/ygopro">Fluorohydride</a></dd> <dd><a href="https://github.com/Fluorohydride/ygopro">Fluorohydride</a></dd>
<dt>发行日期</dt> <dt>发行日期</dt>
<dd>2011年6月3日</dd> <dd>{{currentApp.released_at | date:'mediumDate'}}</dd>
</dl> </dl>
</div> </div>
</div> </div>
......
import {NgModule, NO_ERRORS_SCHEMA} from '@angular/core'; import {NgModule, NO_ERRORS_SCHEMA, LOCALE_ID} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser'; import {BrowserModule} from '@angular/platform-browser';
import {FormsModule, ReactiveFormsModule} from '@angular/forms'; import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {HttpModule} from '@angular/http'; import {HttpModule} from '@angular/http';
...@@ -24,7 +24,11 @@ import {CandyComponent} from './candy.component'; ...@@ -24,7 +24,11 @@ import {CandyComponent} from './candy.component';
], ],
bootstrap: [MyCardComponent], bootstrap: [MyCardComponent],
providers: [ providers: [
AppsService, SettingsService, LoginService, DownloadService, AppsService, SettingsService, LoginService, DownloadService, {
provide: LOCALE_ID,
deps: [SettingsService],
useFactory: (settingsService: SettingsService) => settingsService.getLocale()
}
], ],
schemas: [NO_ERRORS_SCHEMA] schemas: [NO_ERRORS_SCHEMA]
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment