1. 17 May, 2019 13 commits
  2. 16 May, 2019 8 commits
  3. 15 May, 2019 12 commits
  4. 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
  5. 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
  6. 12 May, 2019 3 commits
  7. 11 May, 2019 1 commit