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
39,468 (21 today)
Favourites
76 (who?)
Comments
137
Downloads
11,515 (8 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:
 
:iconfred-miaou:
fred-miaou Featured By Owner Jul 27, 2014
Bug with pipe !

I tried with:

EventFile="E:\Win 8\Sauvegardes\Program Source\Customisation\rainmeter\Calendriers\file 1.xml"|"E:\Win 8\Sauvegardes\Program Source\Customisation\rainmeter\Calendriers\file 2.xml"

OR

EventFile="E:\Win 8\Sauvegardes\Program Source\Customisation\rainmeter\Calendriers\file 1.xml"|file 2.xml

With or without quotes.

Doesn't work and produce an error in log : Script: CScript.Lua:593: bad argument #1 to 'format' (string expected, got no value)


Using those files separately works.

So frustrating. I will apreciate some help or solution for this.

Plus another bug if title used:

<EventFile Title="Anniversaires" Repeat="Year">
    <Event Month="8" Day="8" Year="1952" Repeat="Year" Anniversary="true" Description="Mum"/>
</EventFile>


Will only show -Anniversaires

While

<EventFile Repeat="Year">
    <Event Month="8" Day="8" Year="1952" Repeat="Year" Anniversary="true" Description="Mum"/>
</EventFile>

works as expected.

Thanks
Reply
:iconsmurfier:
smurfier Featured By Owner Jul 28, 2014
For the pipe problem, it is actually:

EventFile=E:\Win 8\Sauvegardes\Program Source\Customisation\rainmeter\Calendriers|file 1.xml|file 2.xml

Your first event works perfectly fine for me, granted that I'm using a newer version of the script with several issues fixed.

I hope to release a new version within the next few days.
Reply
:iconfred-miaou:
fred-miaou Featured By Owner Jul 29, 2014
How can we be notified for a new release?
Reply
:iconpul53dr1v3r:
Pul53dr1v3r Featured By Owner Jul 20, 2014   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 Jul 21, 2014   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
Add a Comment: