Updated Examples and Recipes (markdown)

Howard Hinnant
2017-07-07 21:48:46 -04:00
parent 6c8812e810
commit 98d91dbaf0

@@ -111,7 +111,7 @@ Let's say you want to find out how many hours ahead Sydney is from LA (now). Fi
Because we did not specify otherwise, the default behavior is to give us the full precision of `system_clock::time_point`. If you would prefer other behavior (e.g. minutes precision), that is easily accomplished with just a little more work: Because we did not specify otherwise, the default behavior is to give us the full precision of `system_clock::time_point`. If you would prefer other behavior (e.g. minutes precision), that is easily accomplished with just a little more work:
```c++ ```c++
std::cout << date::format("%H:%M\n", sy.get_local_time() - la.get_local_time()); std::cout << date::format("%H:%M\n", sy.get_local_time() - la.get_local_time());
``` ```
And now the output is: And now the output is: