Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,9 +20,9 @@ option = st.sidebar.radio(
|
|
20 |
|
21 |
# Function to add days to a Hijri date
|
22 |
def add_hijri_days(hijri_date, days):
|
23 |
-
jd = hijri_date.
|
24 |
new_jd = jd + days
|
25 |
-
new_hijri_date = Hijri.
|
26 |
return new_hijri_date
|
27 |
|
28 |
# Function to add months to a Hijri date
|
|
|
20 |
|
21 |
# Function to add days to a Hijri date
|
22 |
def add_hijri_days(hijri_date, days):
|
23 |
+
jd = hijri_date.to_jd()
|
24 |
new_jd = jd + days
|
25 |
+
new_hijri_date = Hijri.from_jd(new_jd)
|
26 |
return new_hijri_date
|
27 |
|
28 |
# Function to add months to a Hijri date
|