This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="modal hide fade" id="confirm-dialog"> | |
<div class="modal-header"> | |
<a class="close" data-dismiss="modal">×</a> | |
<h3>Confirm</h3> | |
</div> | |
<div class="modal-body"> | |
| |
</div> | |
<div class="modal-footer"> | |
<a href="#" class="btn btn-danger">Ok</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from datetime import date, timedelta | |
from dateutil import easter | |
from dateutil.relativedelta import * | |
def get_holidays(year=2010): | |
""" Returns Polish hollidays dates (legally considered non-working days) """ | |
easter_sunday = easter.easter(year) | |
holidays = {'New Year': date(year,1,1), | |
'Trzech Kroli': date(year,1,6), | |
'Easter Sunday': easter_sunday, |