內容簡介
總結:Intl DateTime Calendar 外掛透過 ECMAScript 國際化 API,轉換您 WordPress 網站上日期和時間的顯示方式。此外掛讓您可以在不影響數據庫或 SEO 的情況下切換不同的日曆系統,如佛曆、伊斯蘭曆、希伯來曆等。
問題與答案:
- 這個外掛的主要功能是什麼?
- 回答:這個外掛可以改變您 WordPress 網站上日期和時間的顯示方式,支援多種日曆系統,包括佛曆、伊斯蘭曆、希伯來曆等。
- 這個外掛支援哪些日曆系統?
- 回答:外掛支援的日曆系統包括儒略曆、佛曆、中國農曆、埃及曆、埃塞俄比亞曆、希伯來曆、印度曆、伊斯蘭曆、ISO 8601、日本曆、波斯曆、中華民國曆等。
- 這個外掛的使用案例有哪些?
- 回答:主要使用案例包括泰國的佛曆網站需要佛曆年份、伊斯蘭曆網站需要伊斯蘭曆日期、多語言網站希望日期以本地日曆系統顯示、需要特定日期格式但不影響 SEO 的任何網站。
外掛標籤
開發者團隊
原文外掛簡介
Intl DateTime Calendar transforms how dates and times are displayed on your WordPress site by leveraging the ECMAScript Internationalization API (Intl). This plugin allows you to switch between different calendar systems like Buddhist, Islamic, Hebrew, and more, without affecting your database or SEO.
Key Features
Multiple Calendar Systems – Support for Gregorian, Buddhist, Chinese, Hebrew, Islamic, Japanese, Persian and more
WordPress Integration – Automatically uses your WordPress date/time format and locale settings
Block Editor Compatible – Works with all WordPress core blocks, including custom date formats
SEO Friendly – Maintains proper HTML datetime attributes for search engines
Multilingual Support – Works with any locale WordPress supports
Site Performance – Client-side formatting with minimal impact on page load time
Thai Language Support – Special handling for Thai date formats including Buddhist calendar years
Supported Calendar Systems
Gregorian (Western)
Buddhist
Chinese
Coptic
Dangi (Korean)
Ethiopic
Ethiopic (Amete Alem)
Hebrew
Indian
Islamic
Islamic (Civil)
Islamic (Saudi Arabia)
Islamic (Tabular)
Islamic (Umm al-Qura)
ISO 8601
Japanese
Persian
Republic of China
Use Cases
Buddhist websites in Thailand that need Buddhist Era years (BE)
Islamic websites that need Hijri calendar dates
Multilingual websites that want dates in native calendar systems
Any website that needs specialized date formatting without affecting SEO
Additional Information
Technical Details
This plugin uses the ECMAScript Internationalization API (Intl) for client-side date formatting. The Intl API provides robust support for various calendar systems and locales. For older browsers that may not fully support all features, the plugin includes fallback formatting options.
Browser Compatibility
Modern browsers (last 2-3 years) fully support the plugin’s functionality. For older browsers, basic date formatting will still work, but some advanced calendar systems might fall back to Gregorian.
Privacy
This plugin does not collect or share any personal data, and all date formatting is done client-side in the user’s browser.
