0

I'm using opencart Version 1.5.1.3, where we are using jQuery time picker so many times, currently NOW button sets a system time, but i want to set a current server time on NOW button.

my site server is running in a USA, so i want to set CST timezone for my all timepicker.

right now code look like below line,

$('.time').timepicker({showSecond: true,timeFormat: 'hh:mm:ss',defaultTimezone:'-0600',showTimezone:false});

can anyone help me out?

Chandresh M
  • 3,808
  • 1
  • 24
  • 48

1 Answers1

0

From the discussion here I understand that if you set the defaultTimezone to what your server has and leave showTimezone: false then you will achieve what you ask.

I have not tested this

Alexandros B
  • 1,881
  • 1
  • 23
  • 36