lib/groupdocs/document.rb in groupdocs-0.2.3 vs lib/groupdocs/document.rb in groupdocs-0.2.4
- old
+ new
@@ -61,10 +61,10 @@
# Converts timestamp which is return by API server to Time object.
#
# @return [Time]
#
def process_date
- Time.at(@process_date)
+ Time.at(@process_date / 1000)
end
# Compatibility with response JSON
alias_method :proc_date=, :process_date=