Update calendar (#731)

This commit is contained in:
kuubeu
2023-06-29 14:54:51 +02:00
committed by GitHub
parent 3668f38ffb
commit 2002880c52
2 changed files with 3 additions and 9 deletions

View File

@@ -1,10 +1,4 @@
<svg onload="w()" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
<svg xmlns="http://www.w3.org/2000/svg"
aria-label="Calendar" role="img"
viewBox="0 0 512 512"
style="font-family:monospace;text-anchor:middle;fill:#677"><script type="text/ecmascript"><![CDATA[w=()=>{c=0;for(i in e={weekday:"long",month:"short",day:'numeric'})document.getElementsByTagName('text')[c++].textContent=(new Date).toLocaleString(undefined,{[i]:e[i]})}]]></script><defs><clipPath id="c"><rect
width="512" height="512"
/></clipPath></defs><g clip-path="url(#c)"><rect
width="512" height="512"
fill="#dee"/><rect
width="512" height="180"
fill="#d34"/></g><g id="b"><circle fill="#eab" cx="384" cy="100" r="14" id="a"/><use x="43" xlink:href="#a"/><use x="86" xlink:href="#a"/></g><use y="43" xlink:href="#b"/><text font-size="64" x="256" y="480" id="w">Sunday</text><text fill="#fff" font-size="140" x="140" y="164" id="m">FEB</text><text font-size="256" x="256" y="400" id="d">29</text></svg>
fill="#fff" font-family="monospace"><path d="m0 0V512h512V0" fill="#dee"/><path d="m0 0V180h512V0" fill="#d34"/><path fill="#eab" d="m383.5 86a14 14 0 101 0h42a14 14 0 101 0h42a14 14 0 101 0zm0 43a14 14 0 101 0h42a14 14 0 101 0h42a14 14 0 101 0"/><text x="24.5" y="164" style="text-transform:uppercase" font-size="140">FEB</text><g fill="#677" text-anchor="middle"><text font-size="256" x="256" y="400">29</text><text font-size="64" x="256" y="480">Sunday</text></g><script><![CDATA[c=0;for(i in e={month:"short",day:"numeric",weekday:"long"})document.querySelectorAll("text")[c++].innerHTML=(new Date).toLocaleString(0,{[i]:e[i]})]]></script></svg>

Before

Width:  |  Height:  |  Size: 959 B

After

Width:  |  Height:  |  Size: 744 B