Skip to content

Commit

Permalink
Version 1.8.0 – 04/07/2019
Browse files Browse the repository at this point in the history
- Offset the Hijri date by -1 day to streamline with the Hijri calendar in Malaysia
  • Loading branch information
eclectice committed Jul 4, 2019
1 parent dc4b3fb commit 24b1333
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
16 changes: 13 additions & 3 deletions HijriDate/Date.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Name=Hijri Date
Description=Displays the hijri date of Islamic Calendar.
License=Creative Commons BY-NC-SA 4.0
Version=1.7.0
Version=1.8.0

[Rainmeter]
Author=eclectice
Expand All @@ -25,13 +25,23 @@ SkinHeight=35
;[WEBSITE MEASURES]===============================
; https://www.e-solat.gov.my/index.php?r=esolatApi/tarikhtakwim&period=today&datetype=malidi&date='+hyear+'-'+hmonth+'-'+hday

[Today]
Measure=Time
Format=%m/%d/%Y

[MeasureLessOneDay]
Measure=Calc
Formula=(ABS([Today:TimeStamp]-24*60*60))
DynamicVariables=1

[MeasureDateFormatHijri]
Measure=Time
Format=%#x
TimeStampLocale=ar
TimeStamp=[MeasureLessOneDay:TimeStamp]
;TimeStampLocale=ms
FormatLocale=ar
TimeZone=local
DaylightSavingTime=0
DaylightSavingTime=1
OnUpdateAction=[!Log "MeasureDateFormatHijri:OnUpdateAction - > Debug = #Debug#, Date = [MeasureDateFormatHijri]"]
DynamicVariables=1

Expand Down
2 changes: 1 addition & 1 deletion PrayerTime/PrayerTime.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Name=Prayer Time
Description=Displays the daily JAKIM prayer times.
License=Creative Commons BY-NC-SA 4.0
Version=1.7.0
Version=1.8.0

[Rainmeter]
Author=eclectice
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ License
Changelog
---------

**Version 1.8.0 – 04/07/2019**
- Offset the Hijri date by -1 day to streamline with the Hijri calendar in Malaysia

**Version 1.7.0 – 02/06/2019**
- Deprecated the old regex pattern; the new regex pattern could retrieve both the prayer names and the prayer times respectively to be used in the meters
- Set DefaultUpdateDivider=5 in [Rainmeter] section for the PrayerTime.ini script to give enough time for the new regex pattern to extract the data from the URL
Expand Down

0 comments on commit 24b1333

Please sign in to comment.