created time filter
implemented time directive and filter in views