Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Default lastModified to now, according to spec.
  • Loading branch information
ditman committed Feb 23, 2021
commit cdc08e8048dd0a3fa361146fc668c26b2f9569e1
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ class DomHelper {
Url.createObjectUrl(file),
name: file.name,
length: file.size,
lastModified: DateTime.fromMillisecondsSinceEpoch(file.lastModified!),
lastModified: DateTime.fromMillisecondsSinceEpoch(file.lastModified ?? DateTime.now().millisecondsSinceEpoch),
);
}