We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please add handling of use case when no other clocks are given. E.g.
var otherclocks = ``; if (_other_timezones) { //Build List of Other Timezones // otherclocks = otherclocks + ` <div class = "other_clocks"> `; var i; var j = _other_timezones.length; //TODO: Recommend max 3. for (i= 0; i < j; i++) { //Format other timezones. var _tztime = _date_time.toLocaleTimeString(_locale, { hour: 'numeric', minute: 'numeric', timeZone: _other_timezones[i], weekday: 'short' }); // List other Timezones. otherclocks = otherclocks + ` <div class="tz_locale">${_other_timezones[i]} </div> <div class="otime"> ${_tztime} </div> `; //console.log(_tztime); }; otherclocks = otherclocks + ` </div> `; /*console.log(otherclocks);*/ }
The text was updated successfully, but these errors were encountered:
how to use this?
Sorry, something went wrong.
No branches or pull requests
Please add handling of use case when no other clocks are given. E.g.
The text was updated successfully, but these errors were encountered: