Skip to content

Commit cad2d57

Browse files
committed
fix(filter): add missing value param to filter
1 parent 513e2bf commit cad2d57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const LibraryModule = {
2323
Vue.filter("moment", (value, isUtc = false, ...args) => {
2424
// add utc support on moment(true)
2525
const filterMoment = isUtc ? moment.utc : moment;
26-
return filterMoment(args);
26+
return filterMoment(value, args);
2727
});
2828

2929
// filter to wire moment duration

0 commit comments

Comments
 (0)