Calendar: reformatted code