File tree Expand file tree Collapse file tree
pages/user/account/settings Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,7 +48,10 @@ const TimePicker = (() => {
4848 ( ! options . maxTime || time_now . unix ( ) !== options . maxTime . unix ( ) ) ) {
4949 options . minTime = time_now ;
5050 }
51- obj_config . minTime = { hour : parseInt ( options . minTime . hour ( ) ) , minute : parseInt ( options . minTime . minute ( ) ) } ;
51+ obj_config . minTime = {
52+ hour : parseInt ( options . minTime . local ( ) . hour ( ) ) ,
53+ minute : parseInt ( options . minTime . local ( ) . minute ( ) ) ,
54+ } ;
5255 }
5356
5457 if ( options . maxTime ) {
Original file line number Diff line number Diff line change @@ -214,7 +214,10 @@ const SelfExclusion = (() => {
214214
215215 const initDatePicker = ( ) => {
216216 // timeout_until
217- TimePicker . init ( { selector : timeout_time_id } ) ;
217+ TimePicker . init ( {
218+ selector : timeout_time_id ,
219+ minTime : 'now' ,
220+ } ) ;
218221 DatePicker . init ( {
219222 selector : timeout_date_id ,
220223 minDate : 0 ,
You can’t perform that action at this time.
0 commit comments