When calling File.ctime(path).to_f on ruby 1.8.6 or 1.8.7 it returns a
value without subseconds. Like 123123123.0
Ruby 1.9.2 in this case returns proper value with subseconds.
How I can get proper value on 1.8.6 or 1.8.7?
When calling File.ctime(path).to_f on ruby 1.8.6 or 1.8.7 it returns a
value without subseconds. Like 123123123.0
Ruby 1.9.2 in this case returns proper value with subseconds.
How I can get proper value on 1.8.6 or 1.8.7?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs