|author||zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>||2015-05-31 22:46:32 +0000|
|committer||zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>||2015-05-31 22:46:32 +0000|
[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')
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/date_core.c b/ext/date/date_core.c
index 3dfadbe..5096941 100644
@@ -9475,7 +9475,7 @@ Init_date_core(void)
- # 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] and [Miguel de Cervantes] died on the same day in history - so much so that UNESCO named April 23 as [World Book Day because of this fact]. However because England hadn't yet adopted [Gregorian Calendar Reform] (and wouldn't until ) their deaths are actually 10 days apart. Since Ruby's `Time` class implements a [proleptic Gregorian calendar] and has no concept of calendar reform then there's no way to express this. This is where `DateTime` steps in: