mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-19 14:30:38 -07:00
1.5.3
This commit is contained in:
Vendored
+1
-1
@@ -34,7 +34,7 @@ var filters = {
|
||||
},
|
||||
'date': function date(v, arg) {
|
||||
if (v === 'now') v = new Date();
|
||||
return strftime(v, arg);
|
||||
return v instanceof Date ? strftime(v, arg) : '';
|
||||
},
|
||||
'default': function _default(v, arg) {
|
||||
return v || arg;
|
||||
|
||||
Reference in New Issue
Block a user