Total novice with ruby and rail ... and maybe I'm working more for myself ... but change Unable to local time zone I decided to parse date and time and used it for its own purposes. Substrand is not working for me.
& lt;% ds = thejob.datestamp dsyy = ds [0,4] dsmm = DS [5,2] dsdd = DS [8, 2] dshrs = DS [11,2] ] Dsmin = DS [14,2] dssec = DS [17,2] dstz = DS [20,2]%> & gt; Result in error:
undefined method '[]' for 2011-03-16 18:58:00 UTC: time < datestamp is actually a string, but instead of a
/ div>
Comments
Post a Comment