Deviant Login Shop
 Join deviantART for FREE Take the Tour
×



Details

Submitted on
January 21, 2012
File Size
647 KB
Submitted with
Sta.sh
Link
Thumb
Embed

Stats

Views
38,114 (25 today)
Favourites
74 (who?)
Comments
134
Downloads
11,145 (9 today)

License

Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
×
LuaCalendar 5.0 by smurfier LuaCalendar 5.0 by smurfier
*** Requires Rainmeter 3.0 or higher ***
Before upgrading to a newer version, back up all settings, holiday files, and personal style sheets.

A simple calendar powered by Lua with many customizable options.

Options and Features include:
  • Uses Style Sheets for easy customizing.
    • Includes three default styles and an Enigma style.
  • Start the week on Monday.
  • Use localized month names.
  • Show holidays and events.
  • Move through the months.
  • And many more!


For more information visit: smurfier.github.io/LuaCalendar…
Add a Comment:
 
:iconpul53dr1v3r:
Pul53dr1v3r Featured By Owner 5 days ago   General Artist
how to make a holiday that appears just in one year, no repeats?  
Reply
Hidden by Commenter
:iconpul53dr1v3r:
Pul53dr1v3r Featured By Owner Jun 20, 2014   General Artist
what about help? -_-
Reply
:iconsmurfier:
smurfier Featured By Owner Jun 20, 2014
I'm working on it. Trouble is that I have work, a life, and I'm making sure it works with the newer script that I'm using.
Reply
:iconpul53dr1v3r:
Pul53dr1v3r Featured By Owner Jun 21, 2014   General Artist
No problem mate.  I just wanted to know that you are working on it. I've  no doubt in your success. :)
Reply
:iconsmurfier:
smurfier Featured By Owner Jun 21, 2014
Just so you know... I'll probably just update the skin with a new variable for Orthodox Easter.
Reply
:iconpul53dr1v3r:
Pul53dr1v3r Featured By Owner Edited 4 days ago   General Artist
If you didn't do it, here is a code for Orthodox Easter. Not tested:




function Orthodox Easter()
golden
= (year % 19) + 1
c
= math.floor(year/400) + math.floor(8*(math.floor(year/100) + 11) / 25) - math.floor(year/100)
s
= (11 * golden + c) % 30
if (s < 0) then
s
= s + 30
end
pfm
= os.time{year=year, month=4, day=19} - s * 24 * 60 * 60
if (pfm == os.time{year = year, month = 4, day = 19}) then
pfm
= pfm - 24 * 60 * 60
elseif (pfm == os.time{year = year, month = 4, day = 18} and golden > 11) then
pfm
= pfm - 24 * 60 * 60
end
sunday
= pfm + (7 - tonumber(os.date("%w", pfm))) * 24 * 60 * 60
return {year = year, month = tonumber(os.date("%m", sunday )), day = tonumber(os.date("%d", sunday ))}
end
Reply
:iconpul53dr1v3r:
Pul53dr1v3r Featured By Owner Jun 22, 2014   General Artist
Ok. Just let me know when you have finished it.
Reply
:iconpul53dr1v3r:
Pul53dr1v3r Featured By Owner Edited Jun 17, 2014   General Artist
hi. Help me pls to edit the code and "match" the dates of Orthodox Easter  in the Calendar as the built in Holiday (as you know, the Easter is a movable feast). It could take some doing, but here is a helpful link about it: www.smart.net/~mmontes/ortheas…
Read from "Orthodox Churches" title. I would greatly appreciate your help!
This is the formula: 

G = year % 19
I = (19*G + 15) % 30
J = (year + year/4 + I) % 7
L = I - J
EasterMonth = 3 + (L + 40)/44
EasterDay = L + 28 - 31*(EasterMonth/4)

_________________________
G is the Golden Number-1
I is the number of days from 21 March to the Paschal full moon
J is the weekday for the Paschal full moon (0=Sunday, 1=Monday, etc.)
L is the number of days from 21 March to the Sunday on or before the Pascal full moon (a number between -6 and 28).
Reply
:iconcongtucodon2007:
congtucodon2007 Featured By Owner Jun 1, 2014
How can i show current holiday tooltip as the text
Reply
Add a Comment: