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:
parent
6f1c1b496e
commit
85f10041b2
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue