fixed locale issue in calendar sample