Skip to content

Commit a5c8bcb

Browse files
committed
updated readme
1 parent a9aba12 commit a5c8bcb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ value = String.Format("{0:00}", 1);
5252
var fruit = new Fruit();
5353
fruit.type = "apple";
5454
fruit.color = "RED";
55-
fruit.shippingDate = "";
55+
fruit.shippingDate = new Date(2018, 1, 1);
5656
fruit.amount = 10000;
5757

5858
String.Format("the {type:U} is {color:L} shipped on {shippingDate:s} with an amount of {amount:n}", fruit);
59-
// output: the APPLE is red shipped on with an amount of 10.000
59+
// output: the APPLE is red shipped on 2018-01-01 with an amount of 10.000
6060

6161
```
6262

0 commit comments

Comments
 (0)