mirror of
https://github.com/getredash/redash.git
synced 2025-12-25 01:03:20 -05:00
Replace invalid date time strings
This commit is contained in:
@@ -5,7 +5,7 @@ export default function init(ngModule) {
|
||||
|
||||
ngModule.filter('dateTime', clientConfig =>
|
||||
function dateTime(value) {
|
||||
if (!value) {
|
||||
if (!value || !value.isValid()) {
|
||||
return '-';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user