<commit_before>angular.module('loomioApp').directive 'pollCommonFormOptions', (PollService, AbilityService, Session, TimeService) ->
  scope: {poll: '='}
  templateUrl: 'generated/components/poll/common/form_options/poll_common_form_options.html'
  controller: ($scope, KeyEventService) ->
    $scope.currentZone = ->
      TimeService.nameForZone(Session.user().timeZone)

    $scope.existingOptions = _.clone $scope.poll.pollOptionNames

    $scope.addOption = ->
      return unless $scope.poll.newOptionName and !_.contains($scope.poll.pollOptionNames, $scope.poll.newOptionName)<commit_msg>fix timezone display - for english anyway<commit_after>angular.module('loomioApp').directive 'pollCommonFormOptions', (PollService, AbilityService, Session, TimeService) ->
  scope: {poll: '='}
  templateUrl: 'generated/components/poll/common/form_options/poll_common_form_options.html'
  controller: ($scope, KeyEventService) ->
    $scope.currentZone = ->
      Session.user().timeZone

    $scope.existingOptions = _.clone $scope.poll.pollOptionNames

    $scope.addOption = ->
      return unless $scope.poll.newOptionName and !_.contains($scope.poll.pollOptionNames, $scope.poll.newOptionName)
{'fraction_non_alphanumeric': 0.13243922883487008, 'fraction_numerical': 0.0, 'mean_word_length': 5.2513089005235605, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '7324144', 'n_tokens_mistral': 357, 'n_tokens_neox': 350, 'n_words': 54}