<commit_before>function init(){
    second();

    setInterval(
      'second()',
      1000
    );
}

function rotate_hand(id, percent){
    document.getElementById(id).style.transform =
      'translatex(-50%) '
      + 'rotate(' + (-90 + 360 * percent) + 'deg)';
}

function second(){
    var date = new Date();
    var date_display =
      date.getFullYear()
      + '-'
      + two_digits(date.getMonth() + 1)
      + '-'
      + two_digits(date.getDate())
      + ' '
      + two_digits(date.getHours())
      + ':'
      + two_digits(date.getMinutes())
      + ':'
      + two_digits(date.getSeconds());

    document.getElementById('time').innerHTML = date_display;

    var hours = date.getHours();<commit_msg>added basic timezone offset display<commit_after>function init(){
    second();

    setInterval(
      'second()',
      1000
    );
}

function rotate_hand(id, percent){
    document.getElementById(id).style.transform =
      'translatex(-50%) '
      + 'rotate(' + (-90 + 360 * percent) + 'deg)';
}

function second(){
    var date = new Date();
    var date_display =
      date.getFullYear()
      + '-'
      + two_digits(date.getMonth() + 1)
      + '-'
      + two_digits(date.getDate())
      + ' '
      + two_digits(date.getHours())
      + ':'
      + two_digits(date.getMinutes())
      + ':'
      + two_digits(date.getSeconds())
      + ' ('
      + (date.getTimezoneOffset() / -60)
      + ')';

    document.getElementById('time').innerHTML = date_display;

    var hours = date.getHours();
{'fraction_non_alphanumeric': 0.1743119266055046, 'fraction_numerical': 0.01703800786369594, 'mean_word_length': 2.370860927152318, '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': '3454691', 'n_tokens_mistral': 528, 'n_tokens_neox': 504, 'n_words': 77}