웹개발 및 최신 테크 소식을 전하는 블로그, 웹이즈프리
<body ng-app="testApp" ng-controller="testController as testCtrl"> {{ testCtrl.title }} <br /> {{ testCtrl.myDate | date: 'yyyy.MM.dd HH:mm (UTC- Z)'}} <script> app = angular.module('testApp', []); app.controller('testController', function() { this.title = ' Timezone test'; this.myDate = new Date; }) </script> </body>
Previous