deepu105 / angular-clock

angular clock widget directive: Demo-
http://deepu105.github.io/angular-clock/
64 stars 43 forks source link

Digital Clock Doesnt Update When using gmt-offset #5

Closed dresslerc closed 8 years ago

dresslerc commented 8 years ago

I have a Analog + Digital Clock showing via this HTML:

<ds-widget-clock theme="light" show-secs="true" gmt-offset="-5" show-analog show-digital digital-format="'hh:mm:ss a'" ></ds-widget-clock>

The analog clock is correct, however, the digital clock shows the wrong hour.

deepu105 commented 8 years ago

Ill take a look On 29 Jan 2016 04:37, "Carsten Dressler" notifications@github.com wrote:

I have a Analog + Digital Clock showing via this HTML:

The analog clock is correct, however, the digital clock shows the wrong hour

— Reply to this email directly or view it on GitHub https://github.com/deepu105/angular-clock/issues/5.

deepu105 commented 8 years ago

<ds-widget-clock show-digital digital-format="'hh:mm:ss a'"> gmt-offset="5.3" show-gmt-info></ds-widget-clock>

Does this work can you check

animir commented 8 years ago

I have almost the same issue with negative timezone offset. Checked with gmt-offset="'-08.00'" (or gmt-offset="'-8'") and digital-format="'Z'" and it shows '0008'.

Also I checked scope value and issue was the same.

animir commented 8 years ago

@deepu105 gmt-offset issue is fixed here https://github.com/deepu105/angular-clock/pull/6

deepu105 commented 8 years ago

closed via #6