summaryrefslogtreecommitdiff
path: root/ext/date/date_strftime.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date/date_strftime.c')
-rw-r--r--ext/date/date_strftime.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/date/date_strftime.c b/ext/date/date_strftime.c
index b162413..87cb0a7 100644
--- a/ext/date/date_strftime.c
+++ b/ext/date/date_strftime.c
@@ -424,8 +424,7 @@ date_strftime_with_tmx(char *s, size_t maxsize, const char *format,
long off, aoff;
int hl, hw;
- off = NUM2LONG(rb_funcall(tmx_offset, rb_intern("round"), 0));
-
+ off = tmx_offset;
aoff = off;
if (aoff < 0)
aoff = -off;