File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
platforms/eVoting/src/app/(app)/create Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -135,23 +135,6 @@ export default function CreatePoll() {
135
135
const localDate = new Date ( data . deadline ) ;
136
136
// Convert to UTC ISO string
137
137
utcDeadline = localDate . toISOString ( ) ;
138
-
139
- // Show user the timezone conversion for transparency
140
- const localTime = localDate . toLocaleString ( ) ;
141
- const utcTime = new Date ( utcDeadline ) . toLocaleString ( 'en-US' , { timeZone : 'UTC' } ) ;
142
-
143
- console . log ( '🕐 Deadline conversion:' , {
144
- local : data . deadline ,
145
- localTime,
146
- utc : utcDeadline ,
147
- utcTime
148
- } ) ;
149
-
150
- toast ( {
151
- title : "Timezone Converted" ,
152
- description : `Local: ${ localTime } → UTC: ${ utcTime } ` ,
153
- duration : 3000 ,
154
- } ) ;
155
138
}
156
139
157
140
await pollApi . createPoll ( {
You can’t perform that action at this time.
0 commit comments