Skip to content

Commit

Permalink
sadf
Browse files Browse the repository at this point in the history
  • Loading branch information
Zanger67 committed Jul 26, 2024
1 parent bc7383b commit 8c75bb6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,11 @@
" if modifiedTimes[-1] == '':\n",
" modifiedTimes.pop()\n",
" \n",
" if '1404' in cmd[-1] :\n",
" print(f'{cmd = }')\n",
" print(f'{modifiedTimes = }')\n",
" # modifiedTimes.sort()\n",
" \n",
" try :\n",
" creationDate = datetime.strptime(time.ctime(int(modifiedTimes[0])), '%a %b %d %H:%M:%S %Y')\n",
" modifiedDate = datetime.strptime(time.ctime(int(modifiedTimes[-1])), '%a %b %d %H:%M:%S %Y')\n",
Expand Down
5 changes: 5 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,11 @@ def individualCTimeViaGit(cmd: List[str]) -> Tuple[datetime, datetime] :
if modifiedTimes[-1] == '':
modifiedTimes.pop()

if '1404' in cmd[-1] :
print(f'{cmd = }')
print(f'{modifiedTimes = }')
# modifiedTimes.sort()

try :
creationDate = datetime.strptime(time.ctime(int(modifiedTimes[0])), '%a %b %d %H:%M:%S %Y')
modifiedDate = datetime.strptime(time.ctime(int(modifiedTimes[-1])), '%a %b %d %H:%M:%S %Y')
Expand Down

0 comments on commit 8c75bb6

Please sign in to comment.