Updated Examples and Recipes (markdown)

Emile Cormier
2015-08-01 01:02:18 -03:00
parent 99a29955ec
commit 780ae4508f

@@ -34,7 +34,6 @@ void to_time_point(const std::tm& t,
{
using namespace std::chrono;
using namespace date;
// Component values (as obtained from an UI form, for example)
int y = t.tm_year + 1900;
auto ymd = year(y)/(t.tm_mon+1)/t.tm_mday; // Yields a year_month_day type
if (!ymd.ok())