lib/qrda-export/helper/date_helper.rb in cqm-parsers-0.1.1 vs lib/qrda-export/helper/date_helper.rb in cqm-parsers-0.2.1
- old
+ new
@@ -17,9 +17,13 @@
def performance_period_end
@performance_period_end.to_formatted_s(:number)
end
+ def current_time
+ Time.now.utc.to_formatted_s(:number)
+ end
+
def author_time
"<time #{value_or_null_flavor(self['authorDatetime'])}/>"
end
def author_effective_time
\ No newline at end of file