Commit a3c92d93 authored by Matthias Clasen's avatar Matthias Clasen

Add a footnote explain leap years

svn path=/trunk/; revision=5854
parent dbe4c82b
2007-11-09 Matthias Clasen <mclasen@redhat.com>
* glib/tmpl/date.sgml: Add a footnote explaining leap years.
(#491982, Areg Beketovski)
* glib/tmpl/date.sgml: Improve g_date_clamp docs. (#491970,
Areg Beketovski)
......
......@@ -617,7 +617,10 @@ Returns %TRUE if the date is the last day of the month. The date must be valid.
<!-- ##### FUNCTION g_date_is_leap_year ##### -->
<para>
Returns %TRUE if the year is a leap year.
Returns %TRUE if the year is a leap year.<footnote><para>
For the purposes of this function, leap year is every year divisible by
4 unless that year is divisible by 100. If it is divisible by 100 it would
be a leap year only if that year is also divisible by 400.</para></footnote>
</para>
@year: year to check
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment