Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Set 1-minute time steps in FileDateTimePicker

Anand Baburajan7e8dcb213313
diff --git a/web/packages/new/photos/components/FileDateTimePicker.tsx b/web/packages/new/photos/components/FileDateTimePicker.tsx
index ab503fdef6..de1e3740c8 100644
--- a/web/packages/new/photos/components/FileDateTimePicker.tsx
+++ b/web/packages/new/photos/components/FileDateTimePicker.tsx
@@ -73,6 +73,7 @@ export const FileDateTimePicker: React.FC<FileDateTimePickerProps> = ({
onClose={handleClose}
onOpen={() => setOpen(true)}
disableFuture={true}
+ timeSteps={{ minutes: 1 }}
/* The dialog grows too big on the default portrait mode with
our theme customizations. So we instead use the landscape
layout if the screen is large enough. */