<commit_before>﻿function ContentController($scope, $routeParams, angularHelper) {
    $scope.answerInput = { value: '', hasError: false };

    $scope.amountOfAnswers = Umbraco.Sys.ServerVariables.pollIt.AmountOfAnswers;

    $scope.sortableOptions = {
        axis: 'y',
        containment: 'parent',
        cursor: 'move',
        items: '> div.control-group',
        tolerance: 'pointer',
        stop: function (ev, ui) {
            angularHelper.safeApply($scope, function () {
                angular.forEach($scope.model.question.answers, function (val, index) {
                    val.index = index;
                });
            });
        }
    };

    $scope.config = {
        datePicker: {
            pickDate: true,
            pickTime: false,
            useSeconds: false,
            useMinutes: false,
            format: "YYYY-MM-DD HH:mm:ss",
            icons: {
                time: "icon-time",
                date: "icon-calendar",
                up: "icon-chevron-up",
                down: "icon-chevron-down",
                today: "icon-locate"
            }<commit_msg>#7 change format of the value to display<commit_after>﻿function ContentController($scope, $routeParams, angularHelper) {
    $scope.answerInput = { value: '', hasError: false };

    $scope.amountOfAnswers = Umbraco.Sys.ServerVariables.pollIt.AmountOfAnswers;

    $scope.sortableOptions = {
        axis: 'y',
        containment: 'parent',
        cursor: 'move',
        items: '> div.control-group',
        tolerance: 'pointer',
        stop: function (ev, ui) {
            angularHelper.safeApply($scope, function () {
                angular.forEach($scope.model.question.answers, function (val, index) {
                    val.index = index;
                });
            });
        }
    };

    $scope.config = {
        datePicker: {
            pickDate: true,
            pickTime: false,
            useSeconds: false,
            useMinutes: false,
            format: "YYYY-MM-DD",
            icons: {
                time: "icon-time",
                date: "icon-calendar",
                up: "icon-chevron-up",
                down: "icon-chevron-down",
                today: "icon-locate"
            }
{'fraction_non_alphanumeric': 0.1271186440677966, 'fraction_numerical': 0.00044603033006244426, 'mean_word_length': 1.5811277330264673, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3114673', 'n_tokens_mistral': 645, 'n_tokens_neox': 614, 'n_words': 120}