1. 15 May, 2019 3 commits
  2. 14 May, 2019 2 commits
    • KOBAYASHI Shuji's avatar
      Refine `Time#(to_s|inspect)` · edf4b33c
      KOBAYASHI Shuji authored
      For the following reasons:
      
      - Ruby compatibility.
      - Add UTC offset (time zone informations was not included by #4433).
      - More readable.
      
      Example:
      
        Before this patch:
      
          p Time.gm(2003,4,5,6,7,8,9)        #=> Sat Apr  5 06:07:08 2003
          p Time.local(2013,10,28,16,27,48)  #=> Mon Oct 28 16:27:48 2013
      
        After this patch:
      
          p Time.gm(2003,4,5,6,7,8,9)        #=> 2003-04-05 06:07:08 UTC
          p Time.local(2013,10,28,16,27,48)  #=> 2013-10-28 16:27:48 +0900
      
      Implementation:
      
      I use `strftime(3)` because UTC offset can be added and program size become
      smaller than the other implementations (using `sprintf(3)`, self conversion
      etc) in my environment.
      edf4b33c
    • Yukihiro "Matz" Matsumoto's avatar
      Merge pull request #4433 from shuujii/fix-Time-asctime-ctime-according-to-ISO-Ruby · d8eff635
      Yukihiro "Matz" Matsumoto authored
      Fix `Time#(asctime|ctime)` according to ISO Ruby
      d8eff635
  3. 13 May, 2019 1 commit
    • KOBAYASHI Shuji's avatar
      Fix `Time#(asctime|ctime)` according to ISO Ruby · a2616db4
      KOBAYASHI Shuji authored
      - A leading charactor for day is space.
      - Time zone does not included.
      
      Before this patch:
      
        Time.gm(1982,3,4,5,6,7).asctime  #=> "Thu Mar 04 05:06:07 UTC 1982"
      
      After this patch:
      
        Time.gm(1982,3,4,5,6,7).asctime  #=> "Thu Mar  4 05:06:07 1982"
      a2616db4
  4. 12 May, 2019 3 commits
  5. 11 May, 2019 3 commits
  6. 10 May, 2019 3 commits
  7. 09 May, 2019 1 commit
  8. 08 May, 2019 3 commits
  9. 07 May, 2019 2 commits
  10. 06 May, 2019 2 commits
  11. 05 May, 2019 2 commits
  12. 04 May, 2019 3 commits
  13. 03 May, 2019 6 commits
  14. 02 May, 2019 6 commits