It is currently April 13th, 2021, 11:22 am

Enigma Google Calendar Patch

A package of skins with a "theme" or by a single author
markpud
Posts: 7
Joined: December 11th, 2017, 6:35 pm

Re: Enigma Google Calendar Patch

Post by markpud »

balala wrote: March 8th, 2021, 7:29 pm There might be setting in the Settings skin (Enigma\Options\Options.ini), but I didn't find it, so I'm gonna describe you how to make manually the needed adjustments.
You have to work with the Enigma\Taskbar\Clock\Clock.inc file. All clock skins of the Enigma\Taskbar\Clock config will get the new format. So open the above Clock.inc file and look for and replace the Format option of the [MeasureText] measure (Format="%#I.%M") by Format=%#H.%M. Note that beside replacing the I format option by H, I did remove the absolutely not-needed quotes as well.
Thanks.. I'm using the standalone version without Enigma, but I found the equivalent options in \@Resources\Measures\Reader.lua

Under function Output() I changed this line:

local Timestamp = SELF:GetOption('Timestamp', '%I:%M %p %A %b %d')

to

local Timestamp = SELF:GetOption('Timestamp', '%H:%M %A %b %d')
User avatar
balala
Rainmeter Sage
Posts: 12546
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Enigma Google Calendar Patch

Post by balala »

markpud wrote: March 9th, 2021, 1:23 pm Thanks.. I'm using the standalone version without Enigma, but I found the equivalent options in \@Resources\Measures\Reader.lua

Under function Output() I changed this line:

local Timestamp = SELF:GetOption('Timestamp', '%I:%M %p %A %b %d')

to

local Timestamp = SELF:GetOption('Timestamp', '%H:%M %A %b %d')
Not sure what you mean by "standalone version without Enigma", however I'm glad if you succeded. :thumbup:
markpud
Posts: 7
Joined: December 11th, 2017, 6:35 pm

Re: Enigma Google Calendar Patch

Post by markpud »

I don't have the enigma skin on my system at all.. The OP has 2 versions, I installed the 2nd one which is based on Enigma Gcal but is standalone :)
User avatar
balala
Rainmeter Sage
Posts: 12546
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Enigma Google Calendar Patch

Post by balala »

markpud wrote: March 9th, 2021, 2:42 pm I don't have the enigma skin on my system at all.. The OP has 2 versions, I installed the 2nd one which is based on Enigma Gcal but is standalone :)
Alright. But now it does work in 24-hour format, right?
markpud
Posts: 7
Joined: December 11th, 2017, 6:35 pm

Re: Enigma Google Calendar Patch

Post by markpud »

Yes, thanks again for your help :thumbup:
User avatar
balala
Rainmeter Sage
Posts: 12546
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Enigma Google Calendar Patch

Post by balala »

markpud wrote: March 9th, 2021, 3:17 pm Yes, thanks again for your help :thumbup:
You're welcome.