Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Time class is dependent on system call?
Wes Gamble
4/3/2008 12:04:00 AM
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
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Time class is dependent on system call?
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password