Bg BTime

Bg BTime

Wordpress plugin

Install on Wordpress

App Details

Плагин позволяет рассчитать и отобразить византийское время в вашем регионе.

Сутки по Византийскому времени начинаются с заходом солнца, поэтому их начало зависит от даты и местоположения (долготы и широты).

  • 1 Сутки = 24 часа
  • 1 Час = 10 лепт
  • 1 Лепта = 15 мойр
  • 1 Мойра = 8 рип

Византийское время не может быть определено за полярным кругом (Широта по модулю > 66.5622).

Если заданы координаты за полярным кругом, то функция получает текущие координаты пользователя и рассчитывает для них Византийское время.

Если получить координаты невозможно или пользователь находится за полярным кругом, то рассчитывается псевдо-византийское время с полночью в 18:00.

Следует иметь ввиду, что getCurrentPosition() и watchPosition() больше не работают на сайтах ненадежного происхождения.
Чтобы использовать эту функцию, вы должны подумать о переходе к использованию безопасного режима, такого как HTTPS.
Подробнее см. https://goo.gl/rStTGz

Сутки по Церковному (псевдо-византийскому) времени начинаются с принятым на приходе началом вечерней службы.
Как правило это: 16, 17 или 18 часов. По умолчанию принято 18 часов.

Используются:

  • Sunrise/Sunset Algorithm by Nautical Almanac Office US Naval Observatory
  • HTML5 Geolocation API
  • Алгоритм реализован на JavaScript. Подобное описание см. /btime/readme.md

Шорт-код [bg_btime] выводит на экран византийское время.

Параметры:

format – формат отображения византийского времени.

Если format == 'image' или 'img', то отображаются стрелочные византийские часы.
При format == 'img' стрелка неподвижна.

В остальных случаях время отображается в виде текста.

Используйте следующие плейсхолдеры:

  • %y – год,
  • %2y – две последние цифры года,
  • %m – месяц (1…12),
  • %0m – то же с ведущим нулем,
  • %1m – месяц (января…декабря),
  • %2m – месяц (янв…дек),
  • %d – день месяца (0…31),
  • %0d – то же с ведущим нулем,
  • %n – день недели (0…6), где 0 – воскресенье,
  • %0n – то же с ведущим нулем,
  • %1n – (воскресенье…суббота),
  • %2n – (Вс…Сб),
  • %N – (Воскресенье…Суббота),
  • %h – час (0…23),
  • %0h – то же с ведущим нулем,
  • %1h – час (1…12) без указания дня/ночи,
  • %H – час (1-й…12-й час дня/ночи),
  • %l – лепта (0…9),
  • %0l – то же с ведущим нулем,
  • %j – мойра (0…14),
  • %0j – то же с ведущим нулем,
  • %r – рипа (0…7),
  • %0r – то же с ведущим нулем,
  • %w – стража,
  • %s – богослужение.

По умолчанию: format="%0h:%0l:%0j:%0r - %w (%s)".

size – размер стрелочных часов в пикселях. Допустимые размеры от 150×150 до 750×750. По умолчанию 150×150.

mode – режим работы функции.

  1. Если передан массив, то mode – это координаты места.
  2. Иначе, mode – это час начала вечернего богослужения для расчета церковного (псевдо-византийского) времени.

По умолчанию mode=[90,0] (Северный полюс) – то есть плагин будет пытаться определить координаты пользователя.

time – гражданское время по Григорианскому календарю, для которого необходимо определить византийское время.
По умолчанию time='' – текущее время.

date – дата, на которую необходимо определить византийское время при time = 0 – текущем времени пользователя.

Дополнительный шорт-код [bg_bclock] выводит на экран только стрелочные часы.

Параметры: size, mode, time – описание см. выше.

Pricing

Starting from $0 per month.

Check Out the Telegram Conversation Widget

By Common Ninja

Telegram ConversationTry For Free!

App Info

Rating

Reviewers

No reviews

Tags

No tags

Developed By

Vadim Bogaiskov

Quick & Easy

Find the Best Wordpress plugins for you

Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!

Testimonial

Testimonial plugins for Wordpress

Galleries

Galleries plugins for Wordpress

SEO

SEO plugins for Wordpress

Contact Form

Contact Form plugins for Wordpress

Forms

Forms plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Sliders

Sliders plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Comments

Comments plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Maps

Maps plugins for Wordpress

Security

Security plugins for Wordpress

Translation

Translation plugins for Wordpress

Ads

Ads plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Music Player

Music Player plugins for Wordpress

Backup

Backup plugins for Wordpress

Privacy

Privacy plugins for Wordpress

Optimize

Optimize plugins for Wordpress

Chat

Chat plugins for Wordpress

Countdown

Countdown plugins for Wordpress

Email Marketing

Email Marketing plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Membership

Membership plugins for Wordpress

popup

popup plugins for Wordpress

SiteMap

SiteMap plugins for Wordpress

Payment

Payment plugins for Wordpress

Coming Soon

Coming Soon plugins for Wordpress

Ecommerce

Ecommerce plugins for Wordpress

Customer Support

Customer Support plugins for Wordpress

Inventory

Inventory plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Testimonials

Testimonials plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Slider

Slider plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Membership

Membership plugins for Wordpress

Forms

Forms plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Contact

Contact plugins for Wordpress

Comments

Comments plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Common Ninja Apps

Some of the best Common Ninja plugins for Wordpress

Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.

Telegram Conversation for Wordpress logo

Telegram Conversation

Show Telegram conversations on your website in a clear, authentic chat format.

Skill List for Wordpress logo

Skill List

Showcase your abilities with a structured skill list that highlights strengths clearly, builds credibility, and improves your chances of getting hired.

TDEE Calculator for Wordpress logo

TDEE Calculator

Create a TDEE Calculator that helps visitors estimate daily calorie needs and make informed decisions.

Agenda for Wordpress logo

Agenda

Add an event agenda to your site to display schedules clearly, helping users understand timing and plan their attendance.

Twitch Feed for Wordpress logo

Twitch Feed

Show live streams and clips with a Twitch feed that keeps content fresh, boosts engagement, and helps visitors follow your channel more easily.

Company Branch List for Wordpress logo

Company Branch List

Present all your locations with a clear company branch list that helps customers find nearby offices, understand key details, and enjoy a smoother experience.

Mastodon Feed for Wordpress logo

Mastodon Feed

Show Mastodon posts in a live Mastodon feed that keeps content fresh, strengthens your social presence, and helps visitors engage with your updates.

Pinterest Feed for Wordpress logo

Pinterest Feed

Show Pinterest content in a Pinterest feed that keeps your page visually engaging, highlights new ideas, and helps visitors explore fresh inspiration.

Feature Voting for Wordpress logo

Feature Voting

Use feature voting so users submit ideas, vote on requests, and help you prioritize product updates by real customer demand.

Product Blobs for Wordpress logo

Product Blobs

Use product blobs to highlight key items, draw attention to featured products, and guide visitors toward faster and more confident purchase decisions.

YouTube Carousel for Wordpress logo

YouTube Carousel

Show YouTube videos with a YouTube carousel that displays clips in a smooth, customizable layout to boost visibility and keep visitors engaged.

Video Slider for Wordpress logo

Video Slider

Showcase clips with a video slider that plays videos from multiple sources in a smooth slideshow, improving design and keeping visitors engaged.

Discover Apps By Platform

Discover the best apps for your website

WordPress
Wix
Shopify
Weebly
Webflow
Joomla
PrestaShop
Shift4Shop
WebsiteX5
MODX
Opencart
NopCommerce

Common Ninja Search Engine

The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!

Multiple platforms