mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* tool/merger.rb (#version_up): version.h date should be Japanese
locale date. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c093401b0e
commit
b60a01db6a
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Jan 3 11:17:55 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* tool/merger.rb (#version_up): version.h date should be Japanese
|
||||
locale date.
|
||||
|
||||
Mon Jan 2 22:08:00 2012 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* tool/file2lastrev.rb (VCS::detect): Add support for Subversion
|
||||
|
|
|
@ -58,7 +58,8 @@ def interactive str
|
|||
end
|
||||
|
||||
def version_up
|
||||
d = Date.today
|
||||
d = DateTime.now
|
||||
d = d.new_offset(Rational(9,24)) # we need server locale (i.e. japanese) time
|
||||
system *%w'svn revert version.h'
|
||||
v, p = version
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue