diff --git a/lib/ruby_picasa/types.rb b/lib/ruby_picasa/types.rb index 56e0bd9..cd8a5ba 100644 --- a/lib/ruby_picasa/types.rb +++ b/lib/ruby_picasa/types.rb @@ -328,6 +328,7 @@ class License < Objectify::ElementParser attribute :user, 'gphoto:user' attribute :nickname, 'gphoto:nickname' attribute :location, 'gphoto:location' + attribute :timestamp, 'gphoto:timestamp' flatten 'georss:where' diff --git a/spec/ruby_picasa/types_spec.rb b/spec/ruby_picasa/types_spec.rb index 83ccdb1..be74a08 100644 --- a/spec/ruby_picasa/types_spec.rb +++ b/spec/ruby_picasa/types_spec.rb @@ -270,6 +270,10 @@ {:thumbsize => '32c'}).returns(nil) @photo.thumbnail('32c').should be_nil end + + it 'should have a timestamp' do + @photo.timestamp.should_not be_blank + end end end