MarcinOrlowski / html-clock-plasmoid

Configurable and lightweight clock widget for KDE. Stylable with QT supported subset of HTML markup, supporting variety of usable placeholders to design clock widget as you like.
67 stars 6 forks source link

Date & Time, Anno Domini Year #53

Closed DravenusRex closed 1 year ago

DravenusRex commented 1 year ago

Minimalist right aligned 12-hour time and date with Anno Domini labelled year.

clock

<html>
<body>
<table style="border: none;" align="right">
<tr>
  <td>
    <table style="border: none;">
      <tr><td align="right"><span style="font-weight: bold; color: white;">{k}:{ii} {AA}</span></td></tr>
      <tr><td align="right"><span style="font-weight: bold; color: white;">{DD}, {MM} {d}</span></td></tr>
      <tr><td align="right"><span style="font-weight: bold; color: white;">Anno Domini {yyyy}</span></td></tr>
    </table>
  </td>
</tr>
</table>
</body>
</html>

Confirmation

MarcinOrlowski commented 1 year ago

Thanks for your contribution. I edited your template and removed hardcoded font size to allow copy-pasters to be able to control that from plasmoid's settings. Also added a screenshot of your layout.