PageSourceSearch

https://www.diocesisastorga.es/js/web/js_hemeroteca.js?v=20250505

js diocesisastorga.es collected 2026-10-02 10:44:53 UTC 1,038 bytes, 31 lines download raw bytes

1$(document).ready(function() {
2
3	$('#fecha_desde_aux').datepicker({
4		altField: "#fecha_desde",
5		altFormat: "yy-mm-dd",
6		dateFormat: 'd MM, yy',
7        onSelect: function (date) {
8            var date2 = $('#fecha_desde_aux').datepicker('getDate');
9            date2.setDate(date2.getDate() + 1);
10            $('#fecha_hasta_aux').datepicker('setDate', date2);
11            //sets minDate to dt1 date + 1
12            $('#fecha_hasta_aux').datepicker('option', 'minDate', date2);
13        }	    
14	}); 
15
16	$('#fecha_hasta_aux').datepicker({
17		altField: "#fecha_hasta",
18		altFormat: "yy-mm-dd",
19		dateFormat: 'd MM, yy',
20        onClose: function () {
21            var dt1 = $('#fecha_desde_aux').datepicker('getDate');
22            console.log(dt1);
23            var dt2 = $('#fecha_hasta_aux').datepicker('getDate');
24            if (dt2 <= dt1) {
25                var minDate = $('#fecha_hasta_aux').datepicker('option', 'minDate');
26                $('#fecha_hasta_aux').datepicker('setDate', minDate);
27            }
28        }	    
29	}); 
30	
31});

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.