1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* strftime.c (rb_strftime_with_timespec): clear colons at unknown

directive.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2010-07-09 12:21:26 +00:00
parent 6f1c1b496e
commit 85f10041b2
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Fri Jul 9 21:20:22 2010 Tanaka Akira <akr@fsij.org>
* strftime.c (rb_strftime_with_timespec): clear colons at unknown
directive.
Fri Jul 9 21:04:10 2010 Tanaka Akira <akr@fsij.org>
* strftime.c: don't call tzset. strftime.c doesn't depend on

View file

@ -771,6 +771,7 @@ rb_strftime_with_timespec(char *s, size_t maxsize, const char *format, const str
precision = -1;
flags = 0;
padding = 0;
colons = 0;
break;
}
if (i) {