From c10df9b69839862a9a5aa4c7a4bc32da54a03f12 Mon Sep 17 00:00:00 2001 From: zzak Date: Sun, 31 May 2015 22:46:32 +0000 Subject: [DOC] Decrease heading under DateTime [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/date/date_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/date/date_core.c') 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: -- cgit v1.2.3