Add D_TIME constant for plain dates.
Fix order of serializer so that specific case happen before general.