<commit_before>module Hijri
  class DateTime < Date
    
    attr_reader :hour, :minute, :second, :offset, :zone

    alias :min :minute
    alias :sec :second
    

    def initialize(year=1, month=1, day=1, hour=0, minute=0, second=0, zone="00:00")
      super(year, month, day)
      @hour   = hour
      @minute = minute
      @second = second
      @offset = zone.to_i
      @zone   = zone<commit_msg>Fix offset and pass the test<commit_after>module Hijri
  class DateTime < Date
    
    attr_reader :hour, :minute, :second, :offset, :zone

    alias :min :minute
    alias :sec :second
    

    def initialize(year=1, month=1, day=1, hour=0, minute=0, second=0, zone="00:00")
      super(year, month, day)
      @hour   = hour
      @minute = minute
      @second = second
      @offset = zone.to_f / 24
      @zone   = zone
{'fraction_non_alphanumeric': 0.12139423076923077, 'fraction_numerical': 0.026442307692307692, 'mean_word_length': 2.5147679324894514, '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': '3703355', 'n_tokens_mistral': 288, 'n_tokens_neox': 279, 'n_words': 81}