{"id":43301,"date":"2016-04-20T02:54:00","date_gmt":"2016-04-20T02:54:00","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/jkl-timezone-converter\/"},"modified":"2016-04-20T05:21:05","modified_gmt":"2016-04-20T05:21:05","slug":"jkl-timezone-converter","status":"publish","type":"plugin","link":"https:\/\/tir.wordpress.org\/plugins\/jkl-timezone-converter\/","author":14074821,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.3","stable_tag":"1.0.3","tested":"4.5.33","requires":"3.5","requires_php":"","requires_plugins":"","header_name":"JKL Timezone Converter","header_author":"Aaron Snowberger","header_description":"","assets_banners_color":"bdab90","last_updated":"2016-04-20 05:21:05","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=567MWDR76KHLU","header_plugin_uri":"https:\/\/github.com\/jekkilekki\/plugin-jkl-timezones","header_author_uri":"http:\/\/www.aaronsnowberger.com","rating":0,"author_block_rating":0,"active_installs":20,"downloads":2423,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1399862","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1399862","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1399862","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1399862","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1399862","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1399862","resolution":"2","location":"assets"}},"screenshots":{"1":"Timezone Converter loaded in a Page via the shortcode","2":"Timezone Converter Widget"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[529,527,80,38119,162],"plugin_category":[43,59],"plugin_contributors":[90387],"plugin_business_model":[],"class_list":["post-43301","plugin","type-plugin","status-publish","hentry","plugin_tags-content","plugin_tags-custom","plugin_tags-shortcode","plugin_tags-timezones","plugin_tags-widget","plugin_category-customization","plugin_category-utilities-and-tools","plugin_contributors-jekkilekki","plugin_committers-jekkilekki"],"banners":{"banner":"https:\/\/ps.w.org\/jkl-timezone-converter\/assets\/banner-772x250.png?rev=1399862","banner_2x":"https:\/\/ps.w.org\/jkl-timezone-converter\/assets\/banner-1544x500.png?rev=1399862","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/jkl-timezone-converter\/assets\/icon-128x128.png?rev=1399862","icon_2x":"https:\/\/ps.w.org\/jkl-timezone-converter\/assets\/icon-256x256.png?rev=1399862","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/jkl-timezone-converter\/assets\/screenshot-1.png?rev=1399862","caption":"Timezone Converter loaded in a Page via the shortcode"},{"src":"https:\/\/ps.w.org\/jkl-timezone-converter\/assets\/screenshot-2.png?rev=1399862","caption":"Timezone Converter Widget"}],"raw_content":"<!--section=description-->\n<p>I live in South Korea. But I have loads of friends in the US and elsewhere in the\nworld. Additionally, sometimes I need to arrange Skype calls or meetings with \nsomeone in a different timezone, OR there is an online event that I really want to \nattend - in a different timezone.<\/p>\n\n<p>I needed a way to quickly and easily convert from one date and time in a particular \ntimezone to another. (I hate Googling it every time, or looking up timezone tables \nand doing mental math.) What I really wanted was something I could just point, \nclick, submit and have it spit out the relevant time for me in my timezone. So, \nI created this plugin which does just that.<\/p>\n\n<p>Requires WordPress 3.5 and PHP 5.4 or later.<\/p>\n\n<h4>Special Features<\/h4>\n\n<ul>\n<li>Automatically defaults to your current date, time, and timezone\nbased on your WordPress General Settings<\/li>\n<li>Allows you to select a City or Manual UTC offset for conversion in the same way\nthe WordPress General Settings Page does<\/li>\n<li>Uses a special jQuery calendar popup for easy date selection<\/li>\n<li>Only allows one instance of the Converter to run on a Page at one time<\/li>\n<\/ul>\n\n<h4>Notes<\/h4>\n\n<ul>\n<li>Multiple widgets are allowed at once (on the same Post\/Page)<\/li>\n<li>Multiple shortcodes (on the same Post\/Page) are disabled - multiple shortcodes\nwill display only ONE form<\/li>\n<li>On Posts\/Pages with a shortcode, the widget will be disabled<\/li>\n<\/ul>\n\n<h4>Planned Upcoming Features<\/h4>\n\n<ul>\n<li>AJAX form submission to prevent page reload<\/li>\n<li>Ability to give the shortcode a specific date and time (like for an Event you're \npromoting) that will set as the default for the Converter on that particular Page<\/li>\n<li>Ability to change the color of the form (shortcode) or converted result (widget)<\/li>\n<li>Possibly allow users to select whether or not to display multiple forms in shortcodes\nand\/or widgets <\/li>\n<\/ul>\n\n<h4>Translations<\/h4>\n\n<ul>\n<li>English (EN) - default<\/li>\n<li>Korean (KO) - upcoming<\/li>\n<\/ul>\n\n<p>If you want to help translate the plugin into your language, please have a look \nat the <code>.pot<\/code> file which contains all definitions and may be used with a [gettext] \neditor.<\/p>\n\n<p>If you have created your own language pack, or have an update of an existing one, \nyou can send your [gettext .po or .mo file] to me so that I can bundle it in the\nplugin.<\/p>\n\n<h4>Contact Me<\/h4>\n\n<p>If you have questions about, problems with, or suggestions for improving this \nplugin, please let me know at the <a href=\"http:\/\/wordpress.org\/support\/plugin\/jkl-timezones\">WordPress.org support forums<\/a><\/p>\n\n<p>Want updates about my other WordPress plugins, themes, or tutorials? Follow me \n<a href=\"http:\/\/twitter.com\/jekkilekki\">@jekkilekki<\/a><\/p>\n\n<h4>Support<\/h4>\n\n<p><a href=\"https:\/\/wordpress.org\/support\/plugin\/jkl-timezones\">Click here to visit the forum for this plugin<\/a><\/p>\n\n<h4>Acknowledgements<\/h4>\n\n<p>This plugin uses:<\/p>\n\n<ul>\n<li><a href=\"http:\/\/jqueryui.com\/datepicker\/\">jQuery UI Datepicker<\/a> licensed under MIT \nLicense or GNU General Public License (GPL) Version 2<\/li>\n<li>World Map image (in the banner) from <a href=\"https:\/\/commons.wikimedia.org\/wiki\/File:Blank_Map_Pacific_World.svg\">Dmthoth on Wikipedia<\/a><\/li>\n<\/ul>\n\n<h4>License<\/h4>\n\n<p>This program is free software; you can redistribute it and\/or modify it under the terms \nof the GNU General Public License as published by the Free Software Foundation; either \nversion 2 of the License, or (at your option) any later version.<\/p>\n\n<p>This program is distributed in the hope that it will be useful, but WITHOUT ANY \nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A \nPARTICULAR PURPOSE. See the GNU General Public License for more details.<\/p>\n\n<p>You should have received a copy of the GNU General Public License along with this \nprogram; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth \nFloor, Boston, MA 02110-1301 USA<\/p>\n\n<!--section=installation-->\n<h4>Automatic installation<\/h4>\n\n<ol>\n<li>Log into your WordPress admin<\/li>\n<li>Go to <code>Plugins -&gt; Add New<\/code><\/li>\n<li>Search for <code>JKL Timezone Converter<\/code><\/li>\n<li>Click <code>Install Now<\/code><\/li>\n<li>Activate the Plugin<\/li>\n<\/ol>\n\n<h4>Manual installation<\/h4>\n\n<ol>\n<li>Download the Plugin<\/li>\n<li>Extract the contents of the .ZIP file<\/li>\n<li>Upload the contents of the <code>jkl-timezones<\/code> directory to your <code>\/wp-content\/plugins<\/code> \nfolder of your WordPress installation<\/li>\n<li>Activate the Plugin from the <code>Plugins<\/code> page<\/li>\n<\/ol>\n\n<h4>Documentation<\/h4>\n\n<p>Full documentation of the Plugin and its uses can (currently) be found at its \n<a href=\"https:\/\/github.com\/jekkilekki\/plugin-jkl-timezones\">GitHub page<\/a><\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Tips<\/dt>\n<dd><p>As a general rule, it is always best to keep your WordPress installation and all \nThemes and Plugins fully updated in order to avoid problems with this or any other \nThemees or Plugins. I regularly update my site and test my Plugins and Themes with\nthe latest version of WordPress.<\/p><\/dd>\n<dt>How can I change the style of the plugin to match my website?<\/dt>\n<dd><p>Each element within the <code>jkl_timezones_form<\/code> contains its own unique CSS identifier, \nallowing you to hook into those in your own Custom CSS stylesheet.<\/p>\n\n<p>To easily find out which classes control which elements, simply open your site in \na modern browser (Google Chrome, Firefox, Opera, or Internet Explorer 9 or later) \nand right-click on the element you wish to style. Then find <code>Inspect<\/code> in the pop-up \ncontextual menu.<\/p><\/dd>\n<dt>Why does the Timezone Converter always show UTC time and not my current timezone?<\/dt>\n<dd><p>In order for your current timezone to show up in the timezone calculator as the \ndefault, you first need to SET your default timezone in the WordPress Settings Page.\nIn the WordPress admin menu, go to <code>Settings -&gt; General<\/code> and find the dropdown to\nset your timezone.<\/p>\n\n<p><strong>Note:<\/strong> If you select a manual UTC time (like +9:00), then the plugin will GUESS\nwhich city you are located in based on that timezone (and it might not be entirely \naccurate). For example, I am based in Seoul (UTC +9:00), but when I set it to <code>UTC \n+9:00<\/code> rather than the city name <code>Seoul<\/code>, the plugin guesses that my city is actually\n    Tokyo (which is located in the same timezone).<\/p><\/dd>\n<dt>Why doesn't the Sidebar Widget also show up on a Page using the shortcode?<\/dt>\n<dd><p>Simple: it's best to not allow TWO separate instances of the Timezone Converter \nto run on the same page. It's overkill. You only need one per page. The same is \ntrue for multiple shortcodes on one page. Only ONE instance of the Timezone Converter\nshould be used on any one Page.<\/p><\/dd>\n<dt>Why does my Page reload every time I click the Timezone Converter buttons?<\/dt>\n<dd><p>There is currently no AJAX functionality implemented by this plugin to maintain\nthe state of the Page and dynamically calculate and show the answer without a \nreload. This is a planned feature for an upcoming release.<\/p><\/dd>\n<dt>Why do I have to scroll down the Page to see my results after conversion?<\/dt>\n<dd><p>Currently, the plugin doesn't remember your page position when you submit the \nconversion form, so because the form completely reloads the page, it thinks this \nis the first time you're loading, so it will load to the top of the page.<\/p>\n\n<p>Remembering page position is a planned upcoming feature, but it will be \nunnecessary if\/when I implement dynamic calculations with AJAX.<\/p><\/dd>\n<dt>Why do some of the Timezone Converter fields appear out of place?<\/dt>\n<dd><p>For the most part, it depends on how your Theme styles those elements. I did my \nbest to style the form very simply and plainly, but some elements may appear out\nof place in your installation due to your Theme's default styles. In order to fix\nthis, add some Custom CSS (preferrably using Jetpack's Custom CSS feature, or \nanother that doesn't require modifying the Theme or Plugin files).<\/p>\n\n<p>See the first question above for more info on how to do create Custom CSS for the plugin.<\/p><\/dd>\n<dt>Can you ADD \/ REMOVE \/ CHANGE features of the plugin?<\/dt>\n<dd><p>Sure, I'm always open to suggestions. Let me know what you're looking for. Feel\nfree to open a GitHub Issue on the <a href=\"https:\/\/github.com\/jekkilekki\/plugin-jkl-timezones\">plugin repository<\/a>\nto let me know the specific features or problems you're having.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Added better security features (WP nonce, validation, sanitization, escaping)<\/li>\n<li>Re-styled to look more like Google's unit converter<\/li>\n<li>Modified short descriptive text to fit on WordPress.org<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"A simple Timezone widget and shortcode that allows you to convert time differences and easily plan events or meetings based in other timezones.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tir.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/43301","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tir.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tir.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tir.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=43301"}],"author":[{"embeddable":true,"href":"https:\/\/tir.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jekkilekki"}],"wp:attachment":[{"href":"https:\/\/tir.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=43301"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tir.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=43301"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tir.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=43301"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tir.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=43301"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tir.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=43301"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tir.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=43301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}