<commit_before><div id="<?php echo $widgetId; ?>"
     class="span<?php echo $params['span']; ?> widget <?php echo $widgetType; ?>"
     data-widget-type="<?php echo $widgetType; ?>"
     data-params='<?php echo $this->json($params)?>'>
</div>
<script type="text/template" id="<?php echo $widgetId; ?>Tpl">
    <div class="widgetContainer MessagesWidget">
        <h1 class="title"><?php echo $params['title']; ?> <?php if ($params['subtitle']):?><br/><small><?php echo $params['subtitle']; ?></small><?php endif?></h1>

        <% _.each(value, function(item) { %>
            <div class="message row-fluid">
                <div class="span12 last">
                    <div class="content">
                        <span class="failure">
                            <strong><%= item.url %></strong><br/><small> <%= item.numberOfErrors %> errors, last at <%= item.lastErrorTime %></small>
                        </span>
                    </div>
                </div>

            </div>
        <% }); %>

        <p class="updated-at">Last update: <%= lastUpdate %></p>
    </div>
</script><commit_msg>Changed date format in a really ugly way - needs refactoring (e.g. into a view helper)!<commit_after><div id="<?php echo $widgetId; ?>"
     class="span<?php echo $params['span']; ?> widget <?php echo $widgetType; ?>"
     data-widget-type="<?php echo $widgetType; ?>"
     data-params='<?php echo $this->json($params)?>'>
</div>
<script type="text/template" id="<?php echo $widgetId; ?>Tpl">
    <div class="widgetContainer MessagesWidget">
        <h1 class="title"><?php echo $params['title']; ?> <?php if ($params['subtitle']):?><br/><small><?php echo $params['subtitle']; ?></small><?php endif?></h1>

        <% _.each(value, function(item) { %>
            <div class="message row-fluid">
                <div class="span12 last">
                    <div class="content">
                        <span class="failure">
                            <strong><%= item.url %></strong><br/><small> <%= item.numberOfErrors %> errors, last at <% var date = new Date(item.lastErrorTime*1000); print(date.getDate() + '.' + (date.getMonth()+1) + '.' + date.getFullYear() + ' ' + date.getHours() + ':' + date.getMinutes() + ':' + date.getSeconds()) %></small>
                        </span>
                    </div>
                </div>

            </div>
        <% }); %>

        <p class="updated-at">Last update: <%= lastUpdate %></p>
    </div>
</script>
{'fraction_non_alphanumeric': 0.21408336705787132, 'fraction_numerical': 0.005261027923917442, 'mean_word_length': 2.3816689466484267, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 0, '>': 89, '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': '5012560', 'n_tokens_mistral': 763, 'n_tokens_neox': 726, 'n_words': 162}