tab: fix nil modification time

This commit is contained in:
Jonathan Chang 2020-10-05 13:52:50 +11:00
parent 641016da10
commit 14cba7f648

View File

@ -324,7 +324,7 @@ class Tab < OpenStruct
end
def source_modified_time
Time.at(super)
Time.at(super || 0)
end
def to_json(options = nil)