[ruby-cvs:72044] nobu:r64952 (trunk): Timezone support by Time [Feature #14850]

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Oct 8 11:35:31 JST 2018


nobu	2018-10-08 11:35:31 +0900 (Mon, 08 Oct 2018)

  New Revision: 64952

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64952

  Log:
    Timezone support by Time [Feature #14850]
    
    * strftime.c (rb_strftime): support timezone object by `%z`.
    
    * time.c (time_init_1, time_new_timew, time_getlocaltime): accept
      timezone object as `off`.

  Modified files:
    trunk/NEWS
    trunk/spec/ruby/core/time/getlocal_spec.rb
    trunk/spec/ruby/core/time/new_spec.rb
    trunk/strftime.c
    trunk/test/ruby/test_time_tz.rb
    trunk/time.c
    trunk/timev.h


More information about the ruby-cvs mailing list