Corrected markdown header format

Florian D
2017-04-10 09:46:51 +02:00
parent fb5074d4e3
commit 0b2e54a561

@@ -4,7 +4,7 @@ http://www.boost.org/doc/libs/1_59_0/doc/html/date_time/examples.html#date_time.
look if ported to this library. look if ported to this library.
##Contents ## Contents
- [Dates as Strings](#Dates_as_Strings) - [Dates as Strings](#Dates_as_Strings)
- [Days Alive](#Days_Alive) - [Days Alive](#Days_Alive)
- [Days Between New Years](#Days_Between_New_Years) - [Days Between New Years](#Days_Between_New_Years)
@@ -26,7 +26,7 @@ look if ported to this library.
*** ***
<a name="Dates_as_Strings"></a> <a name="Dates_as_Strings"></a>
###Dates as String ### Dates as String
#include "date.h" #include "date.h"
#include <cassert> #include <cassert>
@@ -85,7 +85,7 @@ look if ported to this library.
} }
<a name="Days_Alive"></a> <a name="Days_Alive"></a>
###Days Alive ### Days Alive
#include "date.h" #include "date.h"
#include "tz.h" #include "tz.h"
@@ -128,7 +128,7 @@ look if ported to this library.
} }
<a name="Days_Between_New_Years"></a> <a name="Days_Between_New_Years"></a>
###Days Between New Years ### Days Between New Years
#include "date.h" #include "date.h"
#include "tz.h" #include "tz.h"
@@ -151,7 +151,7 @@ look if ported to this library.
} }
<a name="Last_Day_of_the_Months"></a> <a name="Last_Day_of_the_Months"></a>
###Last Day of the Months ### Last Day of the Months
#include "date.h" #include "date.h"
#include <cassert> #include <cassert>
@@ -177,7 +177,7 @@ look if ported to this library.
} }
<a name="Localization_Demonstration"></a> <a name="Localization_Demonstration"></a>
###Localization Demonstration ### Localization Demonstration
#include "date.h" #include "date.h"
#include <iomanip> #include <iomanip>
@@ -245,7 +245,7 @@ If your OS supports the `std::locale("de_DE")` the above can be simplified to:
} }
<a name="Date_Period_Calculations"></a> <a name="Date_Period_Calculations"></a>
###Date Period Calculations ### Date Period Calculations
#include "date.h" #include "date.h"
#include <iostream> #include <iostream>
@@ -277,7 +277,7 @@ If your OS supports the `std::locale("de_DE")` the above can be simplified to:
} }
<a name="Print_Holidays"></a> <a name="Print_Holidays"></a>
###Print Holidays ### Print Holidays
#include "date.h" #include "date.h"
#include <iostream> #include <iostream>
@@ -316,7 +316,7 @@ If your OS supports the `std::locale("de_DE")` the above can be simplified to:
} }
<a name="Print_Month"></a> <a name="Print_Month"></a>
###Print Month ### Print Month
#include "date.h" #include "date.h"
#include <iostream> #include <iostream>
@@ -350,7 +350,7 @@ If your OS supports the `std::locale("de_DE")` the above can be simplified to:
} }
<a name="Month_Adding"></a> <a name="Month_Adding"></a>
###Month Adding ### Month Adding
#include "date.h" #include "date.h"
#include "tz.h" #include "tz.h"
@@ -372,7 +372,7 @@ If your OS supports the `std::locale("de_DE")` the above can be simplified to:
} }
<a name="Time_Math"></a> <a name="Time_Math"></a>
###Time Math ### Time Math
#include "date.h" #include "date.h"
#include <iostream> #include <iostream>
@@ -395,7 +395,7 @@ If your OS supports the `std::locale("de_DE")` the above can be simplified to:
} }
<a name="Print_Hours"></a> <a name="Print_Hours"></a>
###Print Hours ### Print Hours
#include "date.h" #include "date.h"
#include "tz.h" #include "tz.h"
@@ -420,7 +420,7 @@ If your OS supports the `std::locale("de_DE")` the above can be simplified to:
} }
<a name="Local_to_UTC_Conversion"></a> <a name="Local_to_UTC_Conversion"></a>
###Local to UTC Conversion ### Local to UTC Conversion
#include "date.h" #include "date.h"
#include "tz.h" #include "tz.h"
@@ -466,7 +466,7 @@ If your OS supports the `std::locale("de_DE")` the above can be simplified to:
} }
<a name="Time_Periods"></a> <a name="Time_Periods"></a>
###Time Periods ### Time Periods
#include "date.h" #include "date.h"
#include <iostream> #include <iostream>
@@ -485,13 +485,13 @@ If your OS supports the `std::locale("de_DE")` the above can be simplified to:
} }
<a name="Simple_Time_Zones"></a> <a name="Simple_Time_Zones"></a>
###Simple Time Zones ### Simple Time Zones
The boost example shows custom time zones. This library supports only the full history of the IANA timezone database. To achieve a custom timezone you would need to edit the IANA timezone database. For The boost example shows custom time zones. This library supports only the full history of the IANA timezone database. To achieve a custom timezone you would need to edit the IANA timezone database. For
an example using the IANA timezone database see the [Local to UTC Conversion](#Local_to_UTC_Conversion) example. an example using the IANA timezone database see the [Local to UTC Conversion](#Local_to_UTC_Conversion) example.
<a name="Daylight_Savings_Calc_Rules"></a> <a name="Daylight_Savings_Calc_Rules"></a>
###Daylight Savings Calc Rules ### Daylight Savings Calc Rules
// This library does not support custom daylight savings rules. But it // This library does not support custom daylight savings rules. But it
// does support the notion of partial dates and finding the nth (or last) // does support the notion of partial dates and finding the nth (or last)
@@ -514,7 +514,7 @@ an example using the IANA timezone database see the [Local to UTC Conversion](#L
} }
<a name="Flight_Time_Example"></a> <a name="Flight_Time_Example"></a>
###Flight Time Example ### Flight Time Example
#include "tz.h" #include "tz.h"
#include <iostream> #include <iostream>
@@ -554,7 +554,7 @@ an example using the IANA timezone database see the [Local to UTC Conversion](#L
// with the date. // with the date.
<a name="Seconds_Since_Epoch"></a> <a name="Seconds_Since_Epoch"></a>
###Seconds Since Epoch ### Seconds Since Epoch
#include "date.h" #include "date.h"
#include "tz.h" #include "tz.h"