original_docstring: 
      This is needed since Numbers AppleScript is returning entries that were in DST with an hour later if pulled during ST. So adjusting the time to handle it.
  
      If passed in datetime is in DST and current date is not in DST then
          decrement passed datetime by one hour
      If passed in datetime is not in DST and current date is in DST then
          increment passed datetime by one hour
      Else
          return unmodified dttm
      
docstring: This is needed since Numbers AppleScript is returning entries that were in DST with an hour later if pulled during ST. So adjusting the time to handle it.
  If passed in datetime is in DST and current date is not in DST then
  decrement passed datetime by one hour
  If passed in datetime is not in DST and current date is in DST then
  increment passed datetime by one hour
  Else
  return unmodified dttm
docstring_tokens: This is needed since Numbers AppleScript is returning entries that were in DST with an hour later if pulled during ST . So adjusting the time to handle it . If passed in datetime is in DST and current date is not in DST then decrement passed datetime by one hour If passed in datetime is not in DST and current date is in DST then increment passed datetime by one hour Else return unmodified dttm
code: def adjustAppleNumbersTimeForDst(dttm):
      '''
      This is needed since Numbers AppleScript is returning entries that were in DST with an hour later if pulled during ST. So adjusting the time to handle it.
  
      If passed in datetime is in DST and current date is not in DST then
          decrement passed datetime by one hour
      If passed in datetime is not in DST and current date is in DST then
          increment passed datetime by one hour
      Else
          return unmodified dttm
      '''
      # Set timezone to US/Central
      tz_str = 'US/Central'
  
      # Get current date and time and set timezone
      curr_dttm = datetime.datetime.now()
      curr_dttm_tz = pytz.timezone(tz_str).localize(curr_dttm)
  
      # Set timezone for passed in datetime
      dttmtz = pytz.timezone(tz_str).localize(dttm)
  
      if bool(dttmtz.dst()) and not bool(curr_dttm_tz.dst()):
          dttm_mod = dttm - datetime.timedelta(hours=1)
          return dttm_mod
      elif not bool(dttmtz.dst()) and bool(curr_dttm_tz.dst()):
          dttm_mod = dttm + datetime.timedelta(hours=1)
          return dttm_mod
      else:
          return dttm
code_tokens: def adjustAppleNumbersTimeForDst ( dttm ) : tz_str = 'US/Central' curr_dttm = datetime . datetime . now ( ) curr_dttm_tz = pytz . timezone ( tz_str ) . localize ( curr_dttm ) dttmtz = pytz . timezone ( tz_str ) . localize ( dttm ) if bool ( dttmtz . dst ( ) ) and not bool ( curr_dttm_tz . dst ( ) ) : dttm_mod = dttm - datetime . timedelta ( hours = 1 ) return dttm_mod elif not bool ( dttmtz . dst ( ) ) and bool ( curr_dttm_tz . dst ( ) ) : dttm_mod = dttm + datetime . timedelta ( hours = 1 ) return dttm_mod else : return dttm
short_docstring: This is needed since Numbers AppleScript is returning entries that were in DST with an hour later if pulled during ST.
short_docstring_tokens: This is needed since Numbers AppleScript is returning entries that were in DST with an hour later if pulled during ST .
comment: '''
      This is needed since Numbers AppleScript is returning entries that were in DST with an hour later if pulled during ST. So adjusting the time to handle it.
  
      If passed in datetime is in DST and current date is not in DST then
          decrement passed datetime by one hour
      If passed in datetime is not in DST and current date is in DST then
          increment passed datetime by one hour
      Else
          return unmodified dttm
      '''$SEP$# Set timezone to US/Central$SEP$# Get current date and time and set timezone$SEP$# Set timezone for passed in datetime