diff --git a/src/app/app.component.html b/src/app/app.component.html
index df235d6..8aa119e 100644
--- a/src/app/app.component.html
+++ b/src/app/app.component.html
@@ -1,3 +1 @@
-
金額:{{ 25000 | currency }}
-CAD 貨幣碼:{{ 25000 | currency: "CAD" }}
-貨幣指示格式:{{ 25000 | currency: "EUR":"symbol" }}
+UTC時間:{{ now | date: "long":"+0800" }}
diff --git a/src/app/app.component.ts b/src/app/app.component.ts
index 1e0d456..412a3bb 100644
--- a/src/app/app.component.ts
+++ b/src/app/app.component.ts
@@ -1,10 +1,10 @@
-import { Component, VERSION } from '@angular/core';
+import { Component } from '@angular/core';
@Component({
selector: 'my-app',
templateUrl: './app.component.html',
- styleUrls: [ './app.component.css' ]
+ styleUrls: ['./app.component.css'],
})
-export class AppComponent {
- pi = 3.1415926;
+export class AppComponent {
+ now = new Date();
}