# \[Bug #779\] Time#strftime $B$,@5$7$/5!G=$7$J$$(B

**URL:** <https://www.ruby-forum.com/t/bug-779-time-strftime-b-5-7-5-g-7-j-b/153987>\
**Category:** Development\
**Created:** [November 24, 2008, 12:15pm UTC](https://www.ruby-forum.com/t/bug-779-time-strftime-b-5-7-5-g-7-j-b/153987 "2008-11-24T12:15:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tadayoshi\_funaba](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/f0a364/32.png) [@tadayoshi\_funaba](https://www.ruby-forum.com/u/tadayoshi_funaba)\
**Post date:** [November 24, 2008, 12:15pm UTC](https://www.ruby-forum.com/t/bug-779-time-strftime-b-5-7-5-g-7-j-b/153987/1 "2008-11-24T12:15:12Z")

</div>

Bug #779: Time#strftime e$B$,@5$7$/5!G=$7$J$$e(B  
[http://redmine.ruby-lang.org/issues/show/779](http://redmine.ruby-lang.org/issues/show/779)

e$B5/I\<\<Te(B: tadayoshi funaba  
e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal

e$B0J2\<$N$h$&$K!“e(B%w e$B$N7k2L$,F@$i$l$J$$;v$,$”$k$h$&$G$9!#e(B

$ ./ruby -e “p Time.mktime(1970,1,18).strftime(‘%Y %U %w’)”  
"1970 03 "

0 e$B$G$"$k\>l9g$K$\*$+$7$$$N$+$b$7$l$^$;$s!#e(B

$ ./ruby -e “p Time.mktime(1970,1,17).strftime(‘%Y %U %w’)”  
“1970 02 6”  
$ ./ruby -e “p Time.mktime(1970,1,19).strftime(‘%Y %U %w’)”  
“1970 03 1”
