add shortDate template func. change primary color