summaryrefslogtreecommitdiff
path: root/ext/date
diff options
context:
space:
mode:
authorzverok <zverok.offline@gmail.com>2019-08-11 13:56:41 +0300
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-10-24 18:39:04 +0900
commit9d3a4ab05bc74d880ca25c2bf0ef48e60f8199af (patch)
tree8bde551faccdbbab887cc99edca178c7b35fe85b /ext/date
parent913807bd6ce98d3d362d27caef4f5e2aef0e5d79 (diff)
[ruby/date] Update docs
https://github.com/ruby/date/commit/8c02586a98
Diffstat (limited to 'ext/date')
-rw-r--r--ext/date/date_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/date/date_core.c b/ext/date/date_core.c
index e00748f9c2..decaec2d59 100644
--- a/ext/date/date_core.c
+++ b/ext/date/date_core.c
@@ -6584,9 +6584,9 @@ mk_inspect(union DateData *x, VALUE klass, VALUE to_s)
* Returns the value as a string for inspection.
*
* Date.new(2001,2,3).inspect
- * #=> "#<Date: 2001-02-03 ((2451944j,0s,0n),+0s,2299161j)>"
+ * #=> "#<Date: 2001-02-03>"
* DateTime.new(2001,2,3,4,5,6,'-7').inspect
- * #=> "#<DateTime: 2001-02-03T04:05:06-07:00 ((2451944j,39906s,0n),-25200s,2299161j)>"
+ * #=> "#<DateTime: 2001-02-03T04:05:06-07:00>"
*/
static VALUE
d_lite_inspect(VALUE self)