Fixed date validation functions and implemented static calendar page