summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authorktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-19 03:10:21 +0000
committerktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-19 03:10:21 +0000
commitedb98f8b910b00be16868b21116924cffad785b9 (patch)
treeeb98e40557395aa10c68c9bba496b62ff11a9369 /time.c
parent67964f299b671c9b29257c7a62000bfbadb4c556 (diff)
fix typos. Patch by k_takata.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r--time.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/time.c b/time.c
index 6b457f22ff..ff19728d1c 100644
--- a/time.c
+++ b/time.c
@@ -3030,7 +3030,7 @@ find_time_t(struct tm *tptr, int utc_p, time_t *tp)
}
}
- /* Given argument has no corresponding time_t. Let's outerpolation. */
+ /* Given argument has no corresponding time_t. Let's extrapolate. */
/*
* `Seconds Since the Epoch' in SUSv3:
* tm_sec + tm_min*60 + tm_hour*3600 + tm_yday*86400 +
@@ -4520,8 +4520,8 @@ strftimev(const char *fmt, VALUE time, rb_encoding *enc)
*
* This method is similar to strftime() function defined in ISO C and POSIX.
*
- * While all directives are locale independant since Ruby 1.9, %Z is platform
- * dependant.
+ * While all directives are locale independent since Ruby 1.9, %Z is platform
+ * dependent.
* So, the result may differ even if the same format string is used in other
* systems such as C.
*