angular-bootstrap-datetimepicker icon indicating copy to clipboard operation
angular-bootstrap-datetimepicker copied to clipboard

Select date in my local timezone

Open jradesenv opened this issue 10 years ago • 1 comments

I'm from Brazil, and here we got a timezone GMT -2, so when i select for example 10/10/2016 15:30 i want it to set the date to 10/10/2016 15:30 GMT-2 (or 10/10/2016 13:30 GMT).

But when i select a date and time, it gives me the time i selected but expect me to select in GMT 0, so the time i see when i select is not the time it will select.

How can i set the calendar to show it and select in gmt -2? I'm already using moment and set the locale to pt-br. Its working in every local that i use only moment.

jradesenv avatar Nov 10 '16 13:11 jradesenv

It should already be in your local time zone - can you post a fiddle, jsbin, or plunker?

Closing as questions should be in gitter chat

dalelotts avatar Nov 10 '16 20:11 dalelotts