<commit_before>// need load the moment.js to use these filters.

(function () {
    appModule.filter('momentFormat', function () {
        return function (date, formatStr) {
            if (!date) {
                return '-';
            }

            return moment(date).format(formatStr);
        };
    })
    .filter('fromNow', function () {
        return function (date) {
            return moment(date).fromNow();
        };
    })
    .filter('momentLLLL', function () {
        return function (date) {
            return moment(date).format('LLLL');
        };
    })
    .filter('momentllll', function () {
        return function (date) {
            return moment(date).format('llll');
        };
    })
    .filter('momentDate', function () {
        return function (date) {
            return moment(date).format('ddd, MMM DD YYYY');
        };
    });
})();<commit_msg>moment.js updated<commit_after>// need load the moment.js to use these filters.

(function () {
    appModule.filter('momentFormat', function () {
        return function (date, formatStr) {
            if (!date) {
                return '-';
            }

            return moment(date).format(formatStr);
        };
    })
    .filter('fromNow', function () {
        return function (date) {
            return moment(date).fromNow();
            // relative time like 5 hours ago
        };
    })
    .filter('momentLLLL', function () {
        return function (date) {
            return moment(date).format('LLLL');
            // Tuesday, May 10, 2016 5:20 PM

        };
    })
    .filter('momentllll', function () {
        return function (date) {
            return moment(date).format('llll');
            // Tue, May 10, 2016 5:20 PM
        };
    })
    .filter('momentDate', function () {
        return function (date) {
            return moment(date).format('ddd, MMM DD YYYY');
        };
    });
})();
{'fraction_non_alphanumeric': 0.15179968701095461, 'fraction_numerical': 0.0099113197704747, 'mean_word_length': 1.7205673758865248, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2251616', 'n_tokens_mistral': 546, 'n_tokens_neox': 516, 'n_words': 123}