Ruby: Formatting time values as RFC3339
01-Nov-08Times in RSS Feeds and the like are formatted as RFC3339 most of the time. You can save yourself from strftime by using Time.now.xmlschemaTime.now.xmlschema
Times in RSS Feeds and the like are formatted as RFC3339 most of the time. You can save yourself from strftime by using Time.now.xmlschemaTime.now.xmlschema
I couldn’t find this in the documents, but Geoff Buesing showed me the hooks to turn off Ruby On Rails’ automatic timezone conversions for some columns of a model or a complete model: # Turn it off for just some columns class Picture < ActiveRecord::Base def self.skip_time_zone_conversion_for_attributes [:created_at, :published_at] end end # Turin it […]
Once again, a quick reminder for myself: Howto display the internet traffic on your Sony Ericsson C702: Menü, #, 4th Tab, 5 (On a german phone: “Einstellungen / Anrufe / Zeit und Kosten”) I guess that works with other SEs like K800i and K850i. I remember an old SE that i had which always displayed […]
This post is an update to Make Gimp.app usable on a mac: The “Click through” property on both Apples X11 and the X11 provided by XQuartz is not set. This leads to the fact, that you have to click on each X11 window twice: First activating it, 2nd pushing a button or whatever else. I […]
Sometimes my Macbook decides to wake up from his sleep (a.k.a hibernation). Most of the times i notice this at work when my emails disappear from my imap inbox as Mail.app applies his rules. As i do not have Apple Remote Desktop or any other VNC server enabled on my Macbook, i do have a […]