aboutsummaryrefslogtreecommitdiffstats
path: root/ext/date/date_core.c
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-31 22:46:32 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-31 22:46:32 +0000
commitc10df9b69839862a9a5aa4c7a4bc32da54a03f12 (patch)
treea5c3c83092ec0200e1906b53ca3982e54a497aff /ext/date/date_core.c
parent30e6825e1b0a1ab782552572381a4755cd33e9fd (diff)
downloadruby-c10df9b69839862a9a5aa4c7a4bc32da54a03f12.tar.gz
[DOC] Decrease heading under DateTime [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/date/date_core.c')
-rw-r--r--ext/date/date_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/date_core.c b/ext/date/date_core.c
index 3dfadbe30f..50969419fb 100644
--- a/ext/date/date_core.c
+++ b/ext/date/date_core.c
@@ -9475,7 +9475,7 @@ Init_date_core(void)
/*
:markup: Markdown
- # When should you use DateTime and when should you use Time?
+ ### When should you use DateTime and when should you use Time?
It's a common misconception that [William Shakespeare][1] and [Miguel de Cervantes][2] died on the same day in history - so much so that UNESCO named April 23 as [World Book Day because of this fact][3]. However because England hadn't yet adopted [Gregorian Calendar Reform][4] (and wouldn't until [1752][5]) their deaths are actually 10 days apart. Since Ruby's `Time` class implements a [proleptic Gregorian calendar][6] and has no concept of calendar reform then there's no way to express this. This is where `DateTime` steps in: