Issue #9521 has been updated by Marcus Stollsteimer.


@zzak I suggest adding the return value of Time.parse("Thu ...") to make the examples a little more clear:

```
now = Time.parse("Thu Nov 29 14:33:20 GMT 2001")  #=> 2001-11-29 09:33:20 -0500
```

(Or correspondingly for JST.)

@naruse Thanks for explaing, I didn't know that.

----------------------------------------
Bug #9521: [Doc] Fix error in Time.parse documentation (in lib/time)
https://bugs.ruby-lang.org/issues/9521#change-45848

* Author: Marcus Stollsteimer
* Status: Feedback
* Priority: Normal
* Assignee: Zachary Scott
* Category: doc
* Target version: 
* ruby -v: ruby 2.1.0p0 (2013-12-25 revision 44422) [i686-linux]
* Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
The docs state that the examples are for GMT as local time zone while in fact they are for JST.
The patch fixes this by using EST (and saying so), like the rest of the examples for lib/time.


---Files--------------------------------
doc_lib_time.patch (1.13 KB)


-- 
httsp://bugs.ruby-lang.org/