nam194 commited on
Commit
e1ecee3
1 Parent(s): b3fce6b

Update parse_info.py

Browse files
Files changed (1) hide show
  1. parse_info.py +1 -1
parse_info.py CHANGED
@@ -26,7 +26,7 @@ def parse_time(inp: List):
26
  for i, _ in enumerate(inp):
27
  inp[i] = inp[i].lower()
28
  now = datetime.utcnow().strftime("%d/%m/%Y")
29
- _ = ["đến", " to "] # list that split 2 time point word
30
  __ = ["now", "hiện tại", " nay", " đến nay", "present"] # end time point
31
  for j in _:
32
  inp[i] = inp[i].replace(j," - ")
 
26
  for i, _ in enumerate(inp):
27
  inp[i] = inp[i].lower()
28
  now = datetime.utcnow().strftime("%d/%m/%Y")
29
+ _ = ["đến", " to ", "–"] # list that split 2 time point word
30
  __ = ["now", "hiện tại", " nay", " đến nay", "present"] # end time point
31
  for j in _:
32
  inp[i] = inp[i].replace(j," - ")