<commit_before><% import datetime %>

<script type="text/javascript">
    var dates = new WatchList();

    function verifyDates() {
        var ret = true;
        dates.each(function(date) {
            if (!date.processDate()) {
                ret = false;
            }
        });
        return ret;
    }

    function isDateValid(date) {
        // ZODB-specific, should be changed once the DB is migrated
        var minDate = new Date('1901-12-13 21:45:52+00:00');
        var maxDate = new Date('2038-01-19 04:14:07+00:00');<commit_msg>Fix event creation date validation<commit_after><% import datetime %>

<script type="text/javascript">
    var dates = new WatchList();

    function verifyDates() {
        var ret = true;
        dates.each(function(date) {
            if (!date.processDate()) {
                ret = false;
            }
        });
        return ret;
    }

    function isDateValid(date) {
        // ZODB-specific, should be changed once the DB is migrated
        var minDate = new Date('1901-12-13T21:45:52+00:00');
        var maxDate = new Date('2038-01-19T04:14:07+00:00');
{'fraction_non_alphanumeric': 0.13070725156669652, 'fraction_numerical': 0.06445837063563116, 'mean_word_length': 2.0798898071625342, 'pattern_counts': {'":': 0, '<': 7, '<?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': '4549142', 'n_tokens_mistral': 383, 'n_tokens_neox': 334, 'n_words': 85}