HOW-TO:Change time and date in Confluence
Skinning | Confluence | HOW-TO:Change time and date in Confluence |
This tutorial will show how to hide or change time and date. This is achieved by editing VideoFullScreen.xml, Home.xml and includes.xml.
Change the clock (except OSD/Info)
The clock in includes.xml is used by all windows except the OSD and Info screen. The clock is defined in includes.xml and called by other windows using <include>Clock</include>. Read more about how includes work.
Open includes.xml and find the following code. Then comment it out which removes the clock completely from Kodi (except OSD/Info) or just edit it.
<include name="Clock"> <control type="label"> <description>time label</description> <right>20</right> <top>5</top> <width>200</width> <height>30</height> <align>right</align> <aligny>center</aligny> <font>font28_title</font> <textcolor>white</textcolor> <shadowcolor>black</shadowcolor> <label>$INFO[System.Time]</label> <animation effect="slide" start="0,0" end="-40,0" time="75" condition="Window.IsVisible(Mutebug)">conditional</animation> </control> </include>-->
If you want to remove the clock from a specific window, open its XML file and comment out <include>Clock</include>. If you want a customized clock add the control section from above to where the include section was and edit it.
Change the clock for OSD/Info
Open VideoFullScreen.xml and find the following code, then comment it out or edit it.
<control type="label" id="1"> <description>Clock label</description> <left>450</left> <top>5</top> <width>800</width> <height>25</height> <align>right</align> <aligny>center</aligny> <font>font13</font> <textcolor>white</textcolor> <shadowcolor>black</shadowcolor> <label>$INFO[System.Time]</label> <animation effect="slide" start="0,0" end="-30,0" time="0" condition="Window.IsVisible(Mutebug)">conditional</animation> <animation effect="slide" start="0,0" end="-70,0" time="0" condition="Window.IsVisible(VideoOSD)">conditional</animation> </control>
Change the date on the Home screen
Open Home.xml and find the following code, then comment it out or edit it.
<control type="label"> <description>Date label</description> <right>20</right> <top>35</top> <width>200</width> <height>15</height> <align>right</align> <aligny>center</aligny> <font>font10</font> <textcolor>white</textcolor> <shadowcolor>black</shadowcolor> <label>$INFO[System.Date]</label> <include>Window_OpenClose_Animation</include> <animation effect="slide" start="0,0" end="-40,0" time="75" condition="Window.IsVisible(Mutebug)">conditional</animation> </control>