<commit_before>window.onload=updateTime;

function updateTime() {
    var hours_div = document.getElementById("hours");
    var minutes_div = document.getElementById("minutes");
    var now = new Date();
    hours_div.innerText = now.getHours();
    minutes_div.innerText = now.getMinutes();
}
window.setInterval(updateTime, 1000);<commit_msg>time displaying as 01, 02, ... instead of 1,2,...<commit_after>window.onload=updateTime;

function updateTime() {
    var hours_div = document.getElementById("hours");
    var minutes_div = document.getElementById("minutes");

    var now = new Date();
    var hours = now.getHours();
    var minutes = now.getMinutes();

    if(hours < 10) {
      hours_div.innerText = '0' + hours;
    } else {
    }

    if(minutes < 10) {
      minutes_div.innerText = '0' + minutes;
    } else {
    }

}
window.setInterval(updateTime, 1000);
{'fraction_non_alphanumeric': 0.14187643020594964, 'fraction_numerical': 0.02288329519450801, 'mean_word_length': 3.581151832460733, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1011988', 'n_tokens_mistral': 299, 'n_tokens_neox': 270, 'n_words': 58}