diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/time.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sun Mar 16 21:33:01 2014 Zachary Scott <[email protected]> + + * lib/time.rb: [DOC] Fix timezone in example of Time.parse [Bug #9521] + Based on patch by @stomar + Sun Mar 16 13:21:40 2014 Nobuyoshi Nakada <[email protected]> * configure.in (DLDFLAGS): insert a space between option and its diff --git a/lib/time.rb b/lib/time.rb index 8c324e68da..e346a3e587 100644 --- a/lib/time.rb +++ b/lib/time.rb @@ -279,7 +279,7 @@ class Time # values (1 or 0) are assumed if broken or missing. For example: # # # Suppose it is "Thu Nov 29 14:33:20 GMT 2001" now and - # # your time zone is GMT: + # # your time zone is JST: # now = Time.parse("Thu Nov 29 14:33:20 GMT 2001") # Time.parse("16:30", now) #=> 2001-11-29 16:30:00 +0900 # Time.parse("7/23", now) #=> 2001-07-23 00:00:00 +0900 |