We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9aba12 commit a5c8bcbCopy full SHA for a5c8bcb
readme.md
@@ -52,11 +52,11 @@ value = String.Format("{0:00}", 1);
52
var fruit = new Fruit();
53
fruit.type = "apple";
54
fruit.color = "RED";
55
-fruit.shippingDate = "";
+fruit.shippingDate = new Date(2018, 1, 1);
56
fruit.amount = 10000;
57
58
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
+// output: the APPLE is red shipped on 2018-01-01 with an amount of 10.000
60
61
```
62
0 commit comments