Description
This widget displays the current time in a different location at a given time offset as an analog clock. To display time at your location use data-offset="0" to diplay time in a country with +1 hour offset use data-offset="+1", ... You can use several widget to show time in different country.
Usage:
In erb file:
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div id="clockid1" data-view="Myclock" data-city="Paris" data-offset="0"></div>
</li>
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div id="clockid2" data-view="Myclock" data-city="Los Angeles" data-offset="-9"></div>
</li>
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div id="clockid3" data-view="Myclock" data-city="Seoul" data-offset="+7"></div>
</li>
Move html, scss and coffee files to widgets/myclock
https://cloud.githubusercontent.com/assets/12684965/24568665/21d46d3a-1663-11e7-94ea-0b9b346fa126.png