diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-11-14 15:39:10 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-11-14 15:56:58 +0900 |
commit | 19a7a7660c34c862689f99b4f9b0447be92cbffb (patch) | |
tree | 679adb8ee56d4f9d23e2f0199b2c9cb6da73d98c /doc/timezones.rdoc | |
parent | caa9881fde884238e38c2decea97ecfca559280c (diff) |
[DOC] Adjust heading levels
So that the first headings would be the top-most headings.
Diffstat (limited to 'doc/timezones.rdoc')
-rw-r--r-- | doc/timezones.rdoc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/timezones.rdoc b/doc/timezones.rdoc index 18233b97ae..5b3a224d14 100644 --- a/doc/timezones.rdoc +++ b/doc/timezones.rdoc @@ -1,6 +1,6 @@ -== Timezones += Timezones -=== Timezone Specifiers +== Timezone Specifiers Certain \Time methods accept arguments that specify timezones: @@ -18,7 +18,7 @@ The value given with any of these must be one of the following - {Integer offset}[rdoc-ref:timezones.rdoc@Integer+Offsets]. - {Timezone object}[rdoc-ref:timezones.rdoc@Timezone+Objects]. -==== Hours/Minutes Offsets +=== Hours/Minutes Offsets The zone value may be a string offset from UTC in the form <tt>'+HH:MM'</tt> or <tt>'-HH:MM'</tt>, @@ -33,7 +33,7 @@ Examples: Time.at(t, in: '-23:59') # => 1999-12-31 20:16:01 -2359 Time.at(t, in: '+23:59') # => 2000-01-02 20:14:01 +2359 -==== Single-Letter Offsets +=== Single-Letter Offsets The zone value may be a letter in the range <tt>'A'..'I'</tt> or <tt>'K'..'Z'</tt>; @@ -46,7 +46,7 @@ see {List of military time zones}[https://en.wikipedia.org/wiki/List_of_military Time.at(t, in: 'Y') # => 2000-01-01 08:15:01 -1200 Time.at(t, in: 'Z') # => 2000-01-01 20:15:01 UTC -==== \Integer Offsets +=== \Integer Offsets The zone value may be an integer number of seconds in the range <tt>-86399..86399</tt>: @@ -55,7 +55,7 @@ in the range <tt>-86399..86399</tt>: Time.at(t, in: -86399) # => 1999-12-31 20:15:02 -235959 Time.at(t, in: 86399) # => 2000-01-02 20:15:00 +235959 -==== Timezone Objects +=== Timezone Objects The zone value may be an object responding to certain timezone methods. |