Explorer

html-ui.time-script

description
(en) A small script that writes the times of the elements with data-ms (ms since 1970) in the local format of the browser
type
String
expression
"<script>for(const e of document.querySelectorAll('[data-ms]'))e.textContent=new Date(+e.dataset.ms).toLocaleString(document.documentElement.lang)</script>"
visibility
public
html-ui.time-script (project html-ui, branch fly-deploy, snapshot 0Ue3_1jyxE9mDRrGURvDDqJnMSZOw0QEkXWqWUKOuZY)
id: Fl1b6yKYXbSbp3n_FiA4YMSyxvBUF9kxKXq5A2jZig0
content hash: LQhZ2oT8K40ateBasOdgIitinJ3i-NuP851tn5_ffNQ