Time class is dependent on system call?

I just noticed that the output of Time.now.zone is different between
Windows and Linux (“Central Daylight Time” vs. “CDT”, respectively).

I assume this indicates that the time zone is pulled directly from the
system time without any modification?

Is there a way to force the output to be consistent b/w the 2 platforms
without resorting to inspecting Config::CONFIG[‘target_os’]?

Thanks,
Wes

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs