Class: Plist::PDate

Inherits:
PTag
  • Object
show all
Defined in:
lib/newsfire_export.rb

Instance Method Summary collapse

Instance Method Details

#to_rubyObject



27
28
29
30
31
32
33
# File 'lib/newsfire_export.rb', line 27

def to_ruby
#       m=text.match(/^(\d\d\d\d)-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)Z(.*?)$/)
#       if not m.nil?
#         Time.gm(m[6],m[5],m[4],m[3],m[2],m[1],nil,nil,nil,nil)
#       end
  text # We don't use Date anyway ;)
end