mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
spec: skip specs where set TZ environment variable for WASI
WASI doesn't respect TZ env var for now
This commit is contained in:
parent
7023b3d394
commit
e9553a8cac
Notes:
git
2022-03-17 17:45:05 +09:00
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ def new_datetime(opts = {})
|
|||
end
|
||||
|
||||
def with_timezone(name, offset = nil, daylight_saving_zone = "")
|
||||
skip "WASI doesn't have TZ concept" if PlatformGuard.wasi?
|
||||
zone = name.dup
|
||||
|
||||
if offset
|
||||
|
|
Loading…
Add table
Reference in a new issue