Convert date attribute handling to transforms