=== Simple Digital Clock πŸ•’ === Contributors: falselight Tags: clock, digital clock, local times, current time, world clock Donate link: https://utctime.info/ Tested up to: 7.0 Requires at least: 6.3 Requires PHP: 5.3 Stable tag: 1.0.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Blocks: simple-digital-clock-block/widget-block It is πŸͺ„ a magical and easy-to-use digital clock with a beautiful UI, supporting multiple languages, locales, dates, captions, and time zones. == πŸ“Œ Description == The Digital Clock Widget – the perfect addition to your website! This sleek and minimalist digital clock Gutenberg block (widget) offers a quick and easy way to display the current time on your site. With its clean design and unobtrusive style, it seamlessly blends into any webpage. Whether you're running a blog, an e-commerce store, or a personal website, our widget keeps your visitors informed with accurate, real-time information. Easy to install and highly customizable, it's the ideal choice for adding a touch of professionalism to your online presence. Upgrade your website today with the Simple Digital Clock Widget and keep your audience in sync with the times! [DEMO](https://yuri.ws/uncategorized/simple-digital-clock/)πŸ‘€ | [DEMO](https://codepen.io/dejurin/pen/KKJZWjV)πŸ‘€ The plugin contains compressed JS code in order to save space and optimize the script. Following the WordPress community rules, we have opened a repository so that you can check and make sure that this code is malware-free and will not cause problems to its users. Github: https://github.com/Timenow-zone/Simple-Digital-Clock-Widget = ⭐️ FEATURES ⭐️ = * πŸš€ Lightweight (~11 KB gzip) * πŸ—£ Locale support (BCP-47, e.g., `en-US`, `uk`, `de-DE`) * 🌐 IANA time zones (e.g., `Europe/Kyiv`, `UTC`) * πŸ“ Custom caption * 🎨 Styling: color/gradient, radius, shadows * πŸ”’ 24-hour or AM/PM, ⏱ seconds, πŸ“… date * πŸ”’ SSL-friendly, πŸ“± responsive, πŸ” SEO-friendly * πŸ’― Free, no ads = How it works = 1. Add the **Simple Digital Clock** block in the editor or as a widget. 2. Configure in the right sidebar: - **Locale** (e.g., `en-US`, `uk`, `fr-FR`) - **Time Zone** (IANA ID, e.g., `Europe/Kyiv`, `America/New_York`, `UTC`) - **Seconds**, **Date**, **24-Hour (AM/PM)**, **Caption** - Background/gradient, border radius, shadow, and font == πŸ“Œ Installation == = From your WordPress dashboard = 1. Go to **Plugins β†’ Add New** 2. Search for **β€œSimple Digital Clock”** 3. Install & Activate 4. Insert the block in the editor or add it as a widget (**/wp-admin/widgets.php**) = From WordPress.org = 1. Download **β€œSimple Digital Clock”** 2. Upload to **/wp-content/plugins/** 3. Activate 4. Insert the block / add the widget == FAQ == = Can I set a custom locale (e.g., `uk` or `en-GB`)? = Yes. Use the **Locale** field and enter any valid BCP-47 tag. = How do I pick the time zone? = Use the **Time Zone** field and select any valid IANA ID (e.g., `Europe/Kyiv`, `UTC`). = Can I use my own fonts? = You can choose from built-in mono fonts (Google Fonts) or keep the system font. = 24-hour format = Yes. You can enable 24-hour time for any locale. Toggle **24-Hour** in the block settings. For 12-hour time with AM/PM, turn it off. = Can I show different locales and time zones on the same page? = Yes. Each block is independentβ€”set its own locale and time zone. = Is it fast? = Yes. The script is tiny and minified, with no heavy dependencies. == Screenshots == 1. creenshot-1.png – Front-end examples: multiple Simple Digital Clock blocks on one page, each with different locales, time zones, colors, and formats (AM/PM or 24-hour). 2. screenshot-2.png – Editor view: Gutenberg sidebar settings for the block (Container, Background Color, Options, Display, About, Advanced) to tweak size, radius, shadow, font, locale, time zone, seconds, date, etc. 3. screenshot-3.png – Block inserter: searching β€œClock” and selecting the Simple Digital Clock block to add it to the page. == Changelog == = 1.0.4 = * Verified compatibility with WordPress 7.0. * Added isolated upgrade-path testing from the public 1.0.3 release. * Added WordPress 7 smoke coverage across PHP 8.2, 8.3, 8.4, and 8.5. = 1.0.3 = * Updated: POT file. = 1.0.2 = * Fix: Minor bugs fixed. = 1.0.1 = * Fix: JavaScript issue resolved. = 1.0.0 = * New: Stable release published. * New: 24-hour time format option. = 0.2.1 = * Fix: Minor bugs fixed. = 0.2.0 = * Enhancement: Clock JavaScript updated. * Fix: Minor bugs fixed. = 0.1.1 = * Fix: Minor bugs fixed. = 0.1.0 = * Initial release. == 🍩 Donations == πŸ•’ Sync Time: [UTC](https://utctime.info/) πŸ—“οΈ Today's Date: [TodaysDateNow](https://todaysdatenow.com/)