getlackey/lackey-cms

View on GitHub
modules/core/shared/dust/dateTimeFormat.js

Summary

Maintainability
A
1 hr
Test Coverage

Function exports has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = (dust) => {

    function format(value, pattern, utc) {
        if (value instanceof Date) {
            return dateformat(value, pattern, utc);
Severity: Minor
Found in modules/core/shared/dust/dateTimeFormat.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status