1function formatTheDateYMD(date) { 2 return formatTheDate(date, 'YMD'); 3} 4 5 6 7function formatTheDate(date, format) { 8 var d = new Date(date), 9 month = '' + (d.getMonth() + 1), 10 day = '' + d.getDate(), 11 year = d.getFullYear(); 12 13 if (month.length < 2) 14 month = '0' + month; 15 if (day.length < 2) 16 day = '0' + day; 17 18 if(format == 'D. M. Y') { 19 return [day, month, year].join('. '); 20 } 21 22 // Brez vodilnih niÄel - enako, kot izpiÅ¡e PHP z 'j. n. Y'. 23 // Uporablja arhiv dogodkov, da se kartice iz PHP-ja in iz API-ja 24 // ujemajo (5. 5. 2026, ne 05. 05. 2026). 25 if(format == 'j. n. Y') { 26 return [d.getDate(), (d.getMonth() + 1), year].join('. '); 27 } 28 29 return [year, month, day].join('-'); 30}
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.