OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2018-06-11 12:33:24

YaronS
Member
Registered: 2012-11-15
Posts: 17

Around Shabbat opening hours

Hey guys,

In Israel Shabbat off period is a national 24h of reduced activity according to the Jewish religion.
Starting somewhere around 7PM on Friday and ends on 8PM Saturday.

This affects especially this kinds of businesses:
Restaurants, Trains, Public Bus services, etc.

The thing is, it changes from IST to IDT (Standard and Daylight), so it can be automatically calculated somehow but it needs some sort of variable to be agile enough to actually inform about the correct working hours.

Some restaurants works from 8AM until 3 hours before Shabbat entrance and some open an hour after Shabbat ends.
This is from Chabad site:
https://www.chabad.org/calendar/candleL … ghting.htm

This is the Hebcal API:
https://www.hebcal.com/home/197/shabbat-times-rest-api

I need your help finding a way to implement such change into the "Working hours" field, it will be very beneficial to tourists who come to Israel and find themselves completely stuck in the hotel because there's no public transportation etc.

I see there has been some discussions in the Israeli community but this setting is pretty global because also in Paris (for example) there are many restaurants keeping the Shabbat tradition.

Thank you so much!

Last edited by YaronS (2018-06-11 12:34:01)

Offline

#2 2018-07-02 22:47:22

zstadler
Member
Registered: 2012-05-05
Posts: 337
Website

Re: Around Shabbat opening hours

It seems that the opening hours syntax is expressive enough to capture such requirements.

For example, a restaurant that is usually open from 9:00 to 21:00 but closes 3 hours before sunset on Friday and opens one hour after sunset on Saturday could have the following value in its opening_hours tag:

Su-Th 09:00-21:00;Fr 09:00-(susnet-03:00);Sa (sunset+01:00)-21:00

Also see an example of a gate closed for vehicles on Shabbat.

Offline

#3 2018-08-20 08:55:40

YaronS
Member
Registered: 2012-11-15
Posts: 17

Re: Around Shabbat opening hours

And what can I do regarding the following case:
3 hours before Shabbat entrance?

This is a global problem and it happens all over the world in different Jewish communities.

Offline

#4 2018-08-20 09:25:53

zstadler
Member
Registered: 2012-05-05
Posts: 337
Website

Re: Around Shabbat opening hours

Assuming Shabbat entrance is sunset on Friday evening, then "Fr (susnet-03:00)" is 3 hours before Shabbat entrance.

Offline

#5 2018-08-28 15:48:14

YaronS
Member
Registered: 2012-11-15
Posts: 17

Re: Around Shabbat opening hours

That's inaccurate in a matter of about 15 minutes or more in some cases.

This is an example of the difference, we're talking about the upcoming Shabbat Entrance this Friday:
http://www.chabad.org.il/Time/Index.asp?CategoryID=176

(Forgot to add the link).

Last edited by YaronS (2018-08-29 07:10:23)

Offline

#6 2018-08-28 16:51:55

zstadler
Member
Registered: 2012-05-05
Posts: 337
Website

Re: Around Shabbat opening hours

If Shabbat starts 15 minutes before sunset at the the specific location, then this difference can be taken into consideration in the spucified offset. If you want to be on the safe side, use the maximal difference throughout the year.

In practice, businesses do not change their closing time by a few minutes every week, but rather round the time to 30 minutes or an hour.

Offline

#7 2018-08-29 07:20:33

YaronS
Member
Registered: 2012-11-15
Posts: 17

Re: Around Shabbat opening hours

Yeah, sort of.

I could possibly live without this feature, just wanted to see if it's something worth mentioning for the sake of regional (religional?) compatibility.

Offline

#8 2018-08-29 12:06:54

zstadler
Member
Registered: 2012-05-05
Posts: 337
Website

Re: Around Shabbat opening hours

Comparing the proposed solution with definition of Shabbat in your initial post:

YaronS wrote:

In Israel Shabbat off period is a national 24h of reduced activity according to the Jewish religion.
Starting somewhere around 7PM on Friday and ends on 8PM Saturday.

it looks to me that the proposal is more accurate and can be interpreted by those not familiar with the Jewish religion.

I suggest we conclude the discussion.

Offline

Board footer

Powered by FluxBB