Skip to content

Commit

Permalink
add timezone label to last_seen selector
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed May 26, 2023
1 parent 57ae2b2 commit 773ce2e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions client/src/components/drawer/Layers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
Divider,
List,
ListItem,
ListItemText,
MenuItem,
Select,
} from '@mui/material'
Expand Down Expand Up @@ -50,6 +51,12 @@ export default function Layers() {
type="select"
/>
<DateTime field="last_seen" />
<ListItemText
inset
secondary="Local timezone, sent in UTC to server"
secondaryTypographyProps={{ variant: 'caption' }}
sx={{ my: 0 }}
/>
<Divider sx={{ my: 2 }} />
<ListSubheader disableGutters>S2 Cells</ListSubheader>
<MultiOptionList
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/drawer/inputs/DateTime.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function DateTime<T extends keyof OnlyType<UsePersist, Date>>({
const value = usePersist((s) => s[field])

return (
<ListItem>
<ListItem sx={{ pb: 0 }}>
<DateTimePicker
disabled={disabled}
disableFuture
Expand Down

1 comment on commit 773ce2e

@vercel
Copy link

@vercel vercel bot commented on 773ce2e May 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

koji – ./

koji-git-main-turtiesocks.vercel.app
koji.vercel.app
koji-turtiesocks.vercel.app

Please sign in to comment.