summaryrefslogtreecommitdiffhomepage
path: root/src/numeric.c
diff options
context:
space:
mode:
authorSutou Kouhei <[email protected]>2019-07-29 18:03:51 +0900
committerSutou Kouhei <[email protected]>2019-07-29 18:16:21 +0900
commiteffae4ae55772bd464d5010353e88236ce1ee494 (patch)
treee71cbb6202b8c791ee42679dbb4d081e836767dd /src/numeric.c
parentff43b2b97c77812abbcbfe14da4582c6c209be9b (diff)
downloadmruby-effae4ae55772bd464d5010353e88236ce1ee494.tar.gz
mruby-effae4ae55772bd464d5010353e88236ce1ee494.zip
Fix Time#to_s encoding on Windows
strftime() on Windows returns locale encoding time zone for "%z" even if MSDN says "%z" is "The offset from UTC in ISO 8601 format; no characters if time zone is unknown" in MSDN: https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/strftime-wcsftime-strftime-l-wcsftime-l?view=vs-2019 So we need to convert encoding of string from strftime().
Diffstat (limited to 'src/numeric.c')
0 files changed, 0 insertions, 0 deletions