summaryrefslogtreecommitdiff
path: root/newver.rb
diff options
context:
space:
mode:
Diffstat (limited to 'newver.rb')
-rwxr-xr-x[-rw-r--r--]newver.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/newver.rb b/newver.rb
index a8cad4d83e6..884e873ba4c 100644..100755
--- a/newver.rb
+++ b/newver.rb
@@ -9,8 +9,8 @@ if $_ =~ /"(\d+)\.(\d+)"/;
if $ARGV[0] == "-f"
i += 1
end
- date = Time.now.strftime("%d %b %y")
- printf("ruby version %d.%0d (%s)\n", $1, i, date)
+ date = Time.now.strftime("%y/%m/%d")
+ printf("ruby - version %d.%0d (%s)\n", $1, i, date)
printf(f, "#define RUBY_VERSION \"%d.%0d\"\n", $1, i)
printf(f, "#define VERSION_DATE \"%s\"\n", date)
f.close