Skip to content

Commit

Permalink
remove convert_to_local_tz
Browse files Browse the repository at this point in the history
  • Loading branch information
noviluni committed Nov 26, 2020
1 parent 6fb6e37 commit 8329713
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions dateparser/timezone_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ def word_is_tz(word):
return bool(_search_regex.match(word))


def convert_to_local_tz(datetime_obj, datetime_tz_offset):
return datetime_obj - datetime_tz_offset + local_tz_offset


def build_tz_offsets(search_regex_parts):

def get_offset(tz_obj, regex, repl='', replw=''):
Expand Down

0 comments on commit 8329713

Please sign in to comment.