Updated Examples and Recipes (markdown)

Howard Hinnant
2017-10-24 18:45:43 -04:00
parent 270ce33432
commit 09ea094a48

@@ -1637,7 +1637,7 @@ Printing out the calendar for an entire year is an interesting exercise. You ca
First the code, and then a detailed explanation: First the code, and then a detailed explanation:
```c++ ```c++
#include "date.h" #include "date/date.h"
#include <algorithm> #include <algorithm>
#include <iomanip> #include <iomanip>
#include <iostream> #include <iostream>
@@ -1680,7 +1680,7 @@ print_line_of_calendar_month(std::ostream& os, date::year_month const ym,
case 1: case 1:
{ {
// Output weekday names title // Output weekday names title
auto wd = first dow; auto wd = firstdow;
do do
{ {
auto d = format(os.getloc(), "%a", wd); auto d = format(os.getloc(), "%a", wd);