Add date type, fix color bug in teishi.l