Skip to content

Commit 9e5ce28

Browse files
authored
fix gift date (#1080)
1 parent ab7ec9f commit 9e5ce28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/pages/Admin/UsersPage.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ const InfoModel: Component<{ show: boolean; close: () => void; userId: string; n
208208
parentClass="text-xs"
209209
fieldName="expiry"
210210
type="datetime-local"
211-
value={toLocalTime(state.info?.manualSub?.expiresAt || now())}
211+
value={toLocalTime(expiry().toISOString())}
212212
onChange={(ev) => setExpiry(new Date(ev.currentTarget.value))}
213213
/>
214214
<Button onClick={() => adminStore.assignGift(props.userId, manualId(), expiry())}>

0 commit comments

Comments
 (0)