html-ui.time-script
As of snapshot FWBeS680eO. See the latest
- 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
@html.node
- expression
@html.element( name: "script", attributes: [], children: [ @html.text( text: "for(const e of document.querySelectorAll('[data-ms]'))e.textContent=new Date(+e.dataset.ms).toLocaleString(document.documentElement.lang)" ) ] )
- visibility
- public
html-ui.time-script (project html-ui, branch edit-check, snapshot FWBeS680eOlm6c2NOnWcarkR0iM2Jt6ap5-Rv0zDiXk) id: Fl1b6yKYXbSbp3n_FiA4YMSyxvBUF9kxKXq5A2jZig0 content hash: ydLVEfBk1b0ag_pAG-pCUvZRnOhKkF1Tj6AAHiMklQA