create record merging log
fix missing current_pill_time case
format pill time display