<commit_before>package timezone

import (
  "github.com/poblahblahblah/gofigure/lib/factfuncts"
  "os/exec"
)

func Load() string {
  app  := "date"
  arg0 := "+%Z"

  cmd := exec.Command(app, arg0)
  out, err := cmd.Output()

  if err != nil {
    return string("")
  }

  return factfuncts.Chomp(string(out))
}
<commit_msg>Ignore current environment when running date<commit_after>package timezone

import (
  "github.com/poblahblahblah/gofigure/lib/factfuncts"
  "os/exec"
)

func Load() string {
  app  := "date"
  arg0 := "+%Z"

  cmd := exec.Command(app, arg0)
  // Ignore the current environment so that we are not influenced by a TZ variable
  // and instead get the system timezone
  cmd.Env = []string{}
  out, err := cmd.Output()

  if err != nil {
    return string("")
  }

  return factfuncts.Chomp(string(out))
}

{'fraction_non_alphanumeric': 0.14251207729468598, 'fraction_numerical': 0.004830917874396135, 'mean_word_length': 3.4095744680851063, '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': '3677372', 'n_tokens_mistral': 312, 'n_tokens_neox': 303, 'n_words': 77}