Naslovnica Neradni dani i blagdani 2020

Neradni dani i blagdani 2020

 

$(function () { var currentYear = new Date().getFullYear(); var d = new Date(); var currMonth = d.getMonth(); var currDay = d.getDate();

var borderDateTime = new Date(currentYear, currMonth, currDay).getTime();

calendar = new Calendar('#calendar', {

customDayRenderer: function(element, date) { if(date.getTime() == borderDateTime) { $(element).css('border', '2px solid blue'); } },

language: 'hr', style: 'background',

mouseOnDay: function (e) { var content = '';

for (var i in e.events) { content += '

' + '
' + e.events[i].name + '

' + '

'; }

$(e.element).popover({ trigger: 'manual', container: 'body', html: true, content: content });

$(e.element).popover('show');

}, mouseOutDay: function (e) { if (e.events.length > 0) { $(e.element).popover('hide'); } }, dataSource: [ { id: 0, name: 'Nova godina', startDate: new Date(currentYear, 0, 1), endDate: new Date(currentYear, 0, 1) },

{ id: 1, name: 'Sveta tri kralja', startDate: new Date(currentYear, 0, 6), endDate: new Date(currentYear, 0, 6) },

{ id: 2, name: 'Uskrs', startDate: new Date(currentYear, 3, 12), endDate: new Date(currentYear, 3, 12) },

{ id: 3, name: 'Uskrsnji ponedjeljak', startDate: new Date(currentYear, 3, 13), endDate: new Date(currentYear, 3, 13) },

{ id: 4, name: 'Praznik rada', startDate: new Date(currentYear, 4, 1), endDate: new Date(currentYear, 4, 1) },

{ id: 5, name: 'Tijelovo', startDate: new Date(currentYear, 5, 11), endDate: new Date(currentYear, 5, 11) },

{ id: 6, name: 'Dan antifašističke borbe', startDate: new Date(currentYear, 5, 22), endDate: new Date(currentYear, 5, 22) },

{ id: 7, name: 'Dan državnosti', startDate: new Date(currentYear, 4, 30), endDate: new Date(currentYear, 4, 30) },

{ id: 8, name: 'Dan domovinske zahvalnosti', startDate: new Date(currentYear, 7, 5), endDate: new Date(currentYear, 7, 5) },

{ id: 9, name: 'Velika gospa', startDate: new Date(currentYear, 7, 15), endDate: new Date(currentYear, 7, 15) },

{ id: 10, name: 'Dan nezavisnosti', startDate: new Date(currentYear, 9, 8), endDate: new Date(currentYear, 9, 8) },

{ id: 11, name: 'Dan svih svetih', startDate: new Date(currentYear, 10, 1), endDate: new Date(currentYear, 10, 1) },

{ id: 12, name: 'Božić', startDate: new Date(currentYear, 11, 25), endDate: new Date(currentYear, 11, 25) },

{ id: 12, name: 'Sveti Stjepan', startDate: new Date(currentYear, 11, 26), endDate: new Date(currentYear, 11, 26) },

{ id: 12, name: 'Dan sjećanja na žrtve domovinskog rata', startDate: new Date(currentYear, 10, 18), endDate: new Date(currentYear, 10, 18) },

] });

}); //# sourceURL=pen.js

Neradni dani, praznici i blagdani u Hrvatskoj u 2020:

01.01. Nova godina

06.01. Sveta tri kralja

12.04. Uskrs

13.04. Uskršnji ponedjeljak

01.05. Praznik rada

30.05. Dan državnosti

11.06. Tijelovo

22.06. Dan antifašističke borbe

05.08. Dan domovinske zahvalnosti

15.08. Velika gospa

08.10. Dan nezavisnosti

01.11. Dan svih svetih

18.11. Dan sjećanja na žrtve domovinskog rata

25.12. Božić

26.12. Sveti Stjepan

Exit mobile version