lib/groupdocs/user.rb in groupdocs-0.2.3 vs lib/groupdocs/user.rb in groupdocs-0.2.4
- old
+ new
@@ -36,10 +36,10 @@
# Converts timestamp which is return by API server to Time object.
#
# @return [Time]
#
def signed_up_on
- Time.at(@signed_up_on)
+ Time.at(@signed_up_on / 1000)
end
# Compatibility with response JSON
alias_method :pkey=, :private_key=
alias_method :pswd_salt=, :password_salt=