lib/rdf/n3/algebra/time/day.rb in rdf-n3-3.2.1 vs lib/rdf/n3/algebra/time/day.rb in rdf-n3-3.3.0

- old
+ new

@@ -16,11 +16,10 @@ # @see RDF::N3::ResourceOperator#evaluate def resolve(resource, position:) case position when :subject return nil unless resource.literal? - resource = resource.as_datetime - RDF::Literal(resource.object.strftime("%d").to_i) + resource.as_datetime.day when :object return nil unless resource.literal? || resource.variable? resource end end