Cinnamon calendar applet: Put the time and date on two lines
Channel: Drew Naylor
Date: 2020-03-03

By default, the Cinnamon calendar applet (which I accidentally referred to as the "clock applet" and never noticed until now, oops) will display the date and time on one line when you turn on the custom date format option. This video shows how to put it onto two lines, first in a Windows-like style with 12-hour time (the video's main focus), then in the default custom format with 24-hour time, and finally in the default custom format with 12-hour time.

Please note that when the custom date format is turned off, only the time shows and is displayed in 24-hour time. The video shows that it displays the date along with the time, but this isn't the case in Linux Mint 19.3 unless it's changed manually by modifying the applet, which is probably what I did at some point.

Below are the custom date formats discussed in this video. The default ones have been corrected to match Linux Mint 19.3's formatting. The rest of the description follows this section.

----------------------------------------------------------------

Default custom date format (Linux Mint 19.3):
%A %B %e, %H:%M

----------------------------------------------------------------

Windows-like:
%l:%M %p %n %m/%d/%Y


%l (lowercase "L") is hour of the day, 12-hour clock
%M is minute of the hour

%p is meridian indicator, uppercase

%n is a new line

%m is month number, zero-padded
%d is day of month number, zero-padded
%Y is year as four digits

Be sure to check the pinned comment for tips on making it more like Windows. (If the pinned comment is gone, this is what it said for archival reasons and it was posted by SethbotStar:
"an extra thing to note here, if you do %-M it will have the month without the zero in front of it, and this is true for almost any variable. If you want to have it truly look more like windows, that's a way to do it. like %x might be 01 whereas %-x would be 1. In fact if i remember, %-I is generally better than %l, because i think %l is exclusive to Linux Mint, whereas %-I is universal to any clock that uses the python time code, or whatever it's actually called.")

----------------------------------------------------------------

Default but on two lines (24-hour time):
%H:%M %n %A %B %e


%H is hour of the day, 24-hour clock
%M is minute of the hour

%n is a new line

%A is the day of the week
%B is the month name
%e is the day of the month, space-padded

----------------------------------------------------------------

Default but on two lines (12-hour time):
%l:%M %p %n %A %B %e


%l (lowercase "L") is hour of the day, 12-hour clock
%M is minute of the hour

%p is meridian indicator, uppercase

%n is a new line

%A is the day of the week
%B is the month name
%e is the day of the month, space-padded

--------------------------------------------------------------------------------

"Linux Stuff" playlist:
https://www.youtube.com/playlist?list=PLBGdykie_JzX46hjVwv3Ba3Q5PLHhgBTO

(This video was edited with Adobe Premiere Pro CC, Media Encoder CC. Recorded with OBS. Rendered/encoded with libx264 via Voukoder. Thumbnail created with GIMP.)

MY LINKS:

Primary Channel:
https://www.youtube.com/channel/UCIEyCGDqoo2rrfZVydaM-2A

Secondary Channel:
https://www.youtube.com/channel/UCVk9yYuTvmUSs56Sjxq2rLQ

Primary Vimeo Channel:
https://www.vimeo.com/DrewNaylor

Secondary Vimeo Channel:
https://vimeo.com/channels/1515401

Facebook:
https://www.fb.com/drewnaylormicroblogging

Twitter:
https://twitter.com/DrewTNaylor

My Website:
https://drew-naylor.com

Thank you and please enjoy the video.