Prayer times and the mosque screen
Prayer time settings, jamaat times, the Ramadan timetable, the mosque screen and notices.
The site works out the prayer times itself, for any place on earth; no outside service is needed.
Settings → Prayer times
Calculation
- Method — fifteen methods, from Karachi (used in Bangladesh, India and Pakistan) to Muslim World League, ISNA, Umm al-Qura and others.
- Asr — Hanafi (later) or Shafi'i, Maliki, Hanbali. High latitudes matters only far from the equator.
- Minutes to add (+) or take away (−) for Fajr, Sunrise, Dhuhr, Asr, Maghrib and Isha, to match your local timetable.
- Sehri ends (minutes from Fajr, usually −3) and Iftar (minutes from Maghrib).
- Hijri date adjustment (days) — to follow the local moon sighting. Bangladesh is often one day behind Saudi Arabia: −1.
Default place — the place shown until a visitor's own location is known: its name in English and Bengali, latitude, longitude and time zone. Quick pick fills them in for any district of Bangladesh. Find each visitor's location automatically first makes a rough guess from the connection (no question asked) and uses exact GPS when the visitor allows it.
The card Today in your city shows today's times, to compare with your local timetable.
The prayer times page
/prayer-times shows today's times for the visitor's location with the next prayer counting down. Change picks another place (current location, any city in the world, a district of Bangladesh); the choice is remembered. Below is the Monthly timetable, with Print and a Mosque screen button.
On a Friday the Dhuhr card becomes the Jumu‘ah card, carrying the khutbah and jamaat times you set for Friday, and every Friday in the monthly timetable is marked — the same as the mosque screen has always done. The times are the ones under the screen's Jamaat tab (and, for everybody else, under Settings → Prayer times → The screen in the mosque), so one setting serves the page, the screen and the app.
/ramadan lists sehri and iftar for every day of this (or the next) Ramadan, with the intention for fasting and the du'a for breaking the fast.
The mosque screen
/prayer-times/screen fills a television or monitor with the prayer times and nothing else:
- the mosque's name, the place, a large clock, and today's date with the Hijri date;
- the next prayer with a countdown, and the three times when prayer is not offered (sunrise, midday, sunset), lit up while they last;
- the five prayers, each with its jamaat time;
- a strip with sehri, sunrise, iftar, sunset, Jumu'ah and tahajjud;
- today's and tomorrow's weather;
- the administrator's notices, and the ayah and the hadith of the day taking turns (the hadith comes from the Hadith plugin).
Across the top is one strap: the site's logo and name on the left, the notice in the middle, and the settings on the right.
The screen keeps itself awake where the browser allows, and reloads itself every night shortly after 3 a.m. Press F for full screen. It uses the place chosen on the website in the same browser, so pick the location on /prayer-times first.
Any screen, from a phone to a 4K television
The screen works out what it is hanging on — a phone, a tablet, a monitor or a television — and then measures itself: it tries a size, looks whether anything is cut off, and settles on the largest that fits. Nothing has to be set by hand, and nothing is clipped at 375 pixels across or at 3840.
On a television it changes more than the size: heavier lettering, stronger lines, and a focus ring a remote can see as it moves. Under Look two settings are there if you want them:
- This screen is — Work it out on its own (the normal choice), or say outright: A television, A monitor, A tablet, A phone. Choose A television for a large monitor you want the ten-foot layout on.
- Edge a television cuts off — Nothing, A little (2%), Some (4%) or A lot (6%). Many televisions cut a strip off every edge (overscan), which is what makes a screen look as though it is spilling over. If the clock or the notice is half off the screen, raise this. A modern television needs Nothing.
With no network
The prayer times were always worked out on the screen itself, so they never needed a connection. The screen now also asks the site once for a week in hand — seven days of ayahs, the notices, and a seven-day forecast — and keeps it. The screen page and its two files are taken into the browser's cache as well.
So a mosque whose network comes and goes, or a television that was switched off for a week, opens with no network at all and still shows the right ayah on the right day, the notices as they were, and the weather. When the network comes back the week is refreshed by itself, within a quarter of an hour.
Ten designs
| Design | Look |
|---|---|
| Emerald | Deep green with a quiet pattern |
| Midnight | Night blue under the stars |
| Masjid | A skyline of domes and minarets |
| Golden | Light, on warm paper |
| Minimal | Black and white, nothing else |
| Daylight (auto) | The sky follows the hour of the day |
| Kaaba | Black kiswah with gold |
| Mihrab | An arch of light behind the times |
| Turquoise | Tiles of Isfahan blue |
| Mosque board | Like the board on the wall |
The gear
The gear in the corner opens the settings sheet. A visitor who is not signed in is asked to sign in or create a free account first.
A signed-in member sees This screen with three tabs:
- Look — mosque or place name, design, 12 or 24 hour clock, language, the scene changing with the time of day, the weather shown on the screen (rain, snow, clouds), Screen size and Edge a television cuts off (above), and Line at the bottom: words of your own for the bottom corner, such as the mosque's address or a phone number (empty: the site's address).
- Jamaat — one box per prayer.
+20means twenty minutes after the prayer begins;13:15is a fixed time; empty shows only the start. Under Friday (Jumu'ah): Khutbah starts and Jamaat, which the Dhuhr card carries on Fridays. - What to show — a notice under the times, the ayah and hadith, seconds on the clock, sunrise/sunset/sehri/iftar, the forbidden times, the weather, tahajjud, the administrator's notices, and The line at the bottom (the site's address) — switch it off and the corner stays empty (a logo, if the site has one, stays).
Changes save by themselves. Copy this screen's link gives an address that carries every setting, for a television that cannot sign in. Members find the same settings in their account under Mosque screen.
What everybody else sees
Settings → Prayer times → The screen in the mosque sets what the screen shows to anyone who is not signed in and has no copied link: the name (empty: the site name), design, clock, language, notice, Line at the bottom, the jamaat and Jumu'ah times, and the same list of what to show (with the switch for the line at the bottom).
The weather
The weather comes from the free Open-Meteo service; no key is needed. With Let this site fetch the weather on, screens ask your site, which keeps each reading for half an hour, so one reading serves every screen. If that fails, the screen asks the service itself. Switch it off only if your server cannot reach the internet.
Content → Notices
A notice is a note, an announcement or a warning written once and shown on every mosque screen, on the website, or both. Administrators and editors write them (the menu item and the page let in the same people); an author cannot.
New notice asks for:
- Heading and Notice in English and Bengali. Write one language only if you like; it is used for both.
- Link (optional) — shown on the website only, as Read more.
- Tone — Notice, Good news, Important or Urgent (red, and hard to miss).
- Show it on — The screens in the mosque, The website, or Both.
- From and Until — empty means from now, and until you switch it off. It disappears on its own after its last day.
- Order (smaller comes first) and Showing now.
The list marks each notice live, ended or off. On a screen, several notices take turns. On the website a notice is a bar at the top of every page; a visitor can close it, and it stays closed in that browser.
An open screen asks the site for its notices once a minute, so a new, changed or ended notice shows up (or goes away) within a minute with nothing to do on the screen itself. A screen that has lost the network keeps showing what it had.