diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/date/date_core.c | 2 |
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: |