[前][次][番号順一覧][スレッド一覧]

ruby-changes:38624

From: zzak <ko1@a...>
Date: Mon, 1 Jun 2015 07:46:36 +0900 (JST)
Subject: [ruby-changes:38624] zzak:r50705 (trunk): [DOC] Decrease heading under DateTime [ci skip]

zzak	2015-06-01 07:46:32 +0900 (Mon, 01 Jun 2015)

  New Revision: 50705

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50705

  Log:
    [DOC] Decrease heading under DateTime [ci skip]

  Modified files:
    trunk/ext/date/date_core.c
Index: ext/date/date_core.c
===================================================================
--- ext/date/date_core.c	(revision 50704)
+++ ext/date/date_core.c	(revision 50705)
@@ -9475,7 +9475,7 @@ Init_date_core(void) https://github.com/ruby/ruby/blob/trunk/ext/date/date_core.c#L9475
     /*
 	: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:
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]