summaryrefslogtreecommitdiff
path: root/strftime.c
diff options
context:
space:
mode:
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 6ad74de085..0ffe6f2bbe 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;