fixed bug in colorize date method