Skip to content

Commit

Permalink
fix gift date
Browse files Browse the repository at this point in the history
  • Loading branch information
sceuick committed Nov 27, 2024
1 parent ab7ec9f commit c6fcb3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/pages/Admin/UsersPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ const InfoModel: Component<{ show: boolean; close: () => void; userId: string; n
parentClass="text-xs"
fieldName="expiry"
type="datetime-local"
value={toLocalTime(state.info?.manualSub?.expiresAt || now())}
value={toLocalTime(expiry().toISOString())}
onChange={(ev) => setExpiry(new Date(ev.currentTarget.value))}
/>
<Button onClick={() => adminStore.assignGift(props.userId, manualId(), expiry())}>
Expand Down

0 comments on commit c6fcb3c

Please sign in to comment.