<commit_before>angular.module("app").filter "prettyDate", (Utils)->
    (date) ->
        if not date
            console.log "attempting to prettify null date"
            return ""

        if date.valueOf() == "19700101T000000"
            return "Not registered"

        if angular.isDate(date)
            return date.toLocaleString "en-us"
        else
            return Utils.toDate(date).toLocaleString "en-us"<commit_msg>fixed 14, show as unregistered<commit_after>angular.module("app").filter "prettyDate", (Utils)->
    (date) ->
        if not date
            console.log "attempting to prettify null date"
            return ""

        if date.valueOf() == "19700101T000000"
            return "Unregistered"

        if angular.isDate(date)
            return date.toLocaleString "en-us"
        else
            return Utils.toDate(date).toLocaleString "en-us"
{'fraction_non_alphanumeric': 0.11035267349260523, 'fraction_numerical': 0.034129692832764506, 'mean_word_length': 2.076923076923077, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6417411', 'n_tokens_mistral': 277, 'n_tokens_neox': 244, 'n_words': 60}