PageSourceSearch

https://www.noviny.sk/html/scripts/RelativeTime.ab59c26e.js

js noviny.sk collected 2026-10-01 10:44:07 UTC 523 bytes, 1 lines download raw bytes

1import{$ as n}from"./index.1a1cdaa0.js";import"./jquery.5fefc43a.js";import"./moment.59c55a16.js";import"./chart.af403e3b.js";const e={interval:null,Init:function(){e.Calculate(),e.interval=setInterval(function(){e.Calculate()},6e4)},Calculate:function(){n(".js-date-convert").each(function(){var a=n(this),t=moment(a.attr("datetime")),o=new Date,i=parseInt(moment.duration(moment(t).diff(moment(o))).asDays());i>-2?(t=t.fromNow(),t=="pred dňom"&&(t="včera")):t=t.format("DD.MM.YYYY"),a.html(t)})}};export{e as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.