some cleanup / make type_op more flexible
disable + and - for ptime and date (for now)