Unparseable date exception when updating alarm (#1119)