File tree Expand file tree Collapse file tree 6 files changed +21
-13
lines changed Expand file tree Collapse file tree 6 files changed +21
-13
lines changed Original file line number Diff line number Diff line change 6
6
<Label [text]='model.deliveryDate' ></Label>-->
7
7
< SearchBar [(ngModel)] ='model.search '> </ SearchBar >
8
8
< Label [text] ='model.search '> </ Label >
9
+ < Label [text] ='model.mydate | date:"fullDate" '> </ Label >
9
10
< Slider [(ngModel)] ='model.sliderTest '> </ Slider >
10
11
< Label [text] ='model.sliderTest '> </ Label >
11
12
< ListPicker [items] ='model.listPickerItems ' [(ngModel)] ='model.selectedIndex '> </ ListPicker >
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ export class RendererTest {
49
49
'testBoolean' : false ,
50
50
'deliveryDate' : new Date ( ) ,
51
51
'deliveryTime' : new Date ( ) ,
52
+ 'mydate' : new Date ( ) ,
52
53
'sliderTest' : 0 ,
53
54
'search' : null ,
54
55
'selectedIndex' : 0 ,
Original file line number Diff line number Diff line change 24
24
"homepage" : " https://github.com/NativeScript/template-hello-world" ,
25
25
"dependencies" : {
26
26
"tns-core-modules" : " ^2.0.0-angular-1" ,
27
+ "nativescript-intl" : " ^0.0.2" ,
27
28
"angular2" : " 2.0.0-beta.9" ,
28
29
"parse5" : " 1.4.2" ,
29
30
"punycode" : " 1.3.2" ,
47
48
"nativescript" : {
48
49
"id" : " org.nativescript.ngsample" ,
49
50
"tns-android" : {
50
- "version" : " 1.7.0 "
51
+ "version" : " 1.7.1 "
51
52
}
52
53
}
53
54
}
Original file line number Diff line number Diff line change 6
6
"bugs" : " http://www.telerik.com" ,
7
7
"contributors" : [
8
8
" Hristo Deshev <hristo.deshev@telerik.com>"
9
- ],
9
+ ],
10
10
"license" : " Apache-2.0" ,
11
11
"repository" : {
12
12
"type" : " git" ,
13
13
"url" : " https://github.com/NativeScript/nativescript-angular.git"
14
14
},
15
15
"scripts" : {},
16
16
"dependencies" : {
17
- "tns-core-modules" : " ^2.0.0-angular-1" ,
18
- "angular2" : " 2.0.0-beta.9" ,
19
- "es6-shim" : " ^0.33.3" ,
20
- "parse5" : " 1.4.2" ,
21
- "punycode" : " 1.3.2" ,
22
- "querystring" : " 0.2.0" ,
23
- "url" : " 0.10.3" ,
24
- "reflect-metadata" : " 0.1.2" ,
25
- "rxjs" : " 5.0.0-beta.2" ,
26
- "zone.js" : " 0.5.15"
17
+ "tns-core-modules" : " ^2.0.0-angular-1" ,
18
+ "nativescript-intl" : " ^0.0.2" ,
19
+ "angular2" : " 2.0.0-beta.9" ,
20
+ "es6-shim" : " ^0.33.3" ,
21
+ "parse5" : " 1.4.2" ,
22
+ "punycode" : " 1.3.2" ,
23
+ "querystring" : " 0.2.0" ,
24
+ "url" : " 0.10.3" ,
25
+ "reflect-metadata" : " 0.1.2" ,
26
+ "rxjs" : " 5.0.0-beta.2" ,
27
+ "zone.js" : " 0.5.15"
27
28
},
28
29
"devDependencies" : {
29
30
"grunt" : " 0.4.5" ,
Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ export type ProviderArray = Array<Type | Provider | any[]>;
41
41
42
42
import { defaultPageProvider } from "./platform-providers" ;
43
43
44
+ import * as nativescriptIntl from "nativescript-intl" ;
45
+ global . Intl = nativescriptIntl ;
46
+
44
47
let _platform = null ;
45
48
46
49
export interface AppOptions {
Original file line number Diff line number Diff line change 31
31
"homepage" : " http://nativescript.org" ,
32
32
"dependencies" : {
33
33
"tns-core-modules" : " 2.0.0-angular-1" ,
34
+ "nativescript-intl" : " ^0.0.2" ,
34
35
"angular2" : " 2.0.0-beta.9" ,
35
36
"nativescript-unit-test-runner" : " ^0.3.3" ,
36
37
"parse5" : " 1.4.2" ,
53
54
"shelljs" : " ^0.5.3" ,
54
55
"typescript" : " 1.8.2"
55
56
}
56
- }
57
+ }
You can’t perform that action at this time.
0 commit comments