summaryrefslogtreecommitdiffstats
path: root/strftime.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-26 05:25:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-26 05:25:08 +0000
commit7b6faae22e4e38167ad8ab6733dbc1beacd2ffa1 (patch)
tree74b2f2b99629231ad8cfddea87da2157ccd6ccf3 /strftime.c
parent331b98144d7ed54aca26db06e421df044824447a (diff)
downloadruby-7b6faae22e4e38167ad8ab6733dbc1beacd2ffa1.tar.gz
ruby-7b6faae22e4e38167ad8ab6733dbc1beacd2ffa1.tar.xz
ruby-7b6faae22e4e38167ad8ab6733dbc1beacd2ffa1.zip
* removed spaces just before tabs.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'strftime.c')
-rw-r--r--strftime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/strftime.c b/strftime.c
index 6ad74de08..0ffe6f2bb 100644
--- a/strftime.c
+++ b/strftime.c
@@ -521,7 +521,7 @@ rb_strftime(char *s, size_t maxsize, const char *format, const struct vtm *vtm,
* live without, but it would be a great help to those of
* us that muck around with various message processors.
*/
- case 'z': /* time zone offset east of GMT e.g. -0600 */
+ case 'z': /* time zone offset east of GMT e.g. -0600 */
if (precision < 4) precision = 4;
NEEDS(precision + 1);
if (gmt) {
@@ -949,7 +949,7 @@ iso8601wknum(const struct tm *timeptr)
* and that
* timeptr->tm_wday MOD 7 == timeptr->tm_wday
* from which it follows that. . .
- */
+ */
jan1day = timeptr->tm_wday - (timeptr->tm_yday % 7);
if (jan1day < 0)
jan1day += 7;