mirror of
https://github.com/B16f00t/whapa.git
synced 2026-04-25 19:05:51 +03:00
[GH-ISSUE #129] whachat / dateformat #115
Labels
No labels
enhancement
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whapa#115
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @datenhain on GitHub (Jul 26, 2021).
Original GitHub issue: https://github.com/B16f00t/whapa/issues/129
HI,
the whachat commandline help has the option [-f [FORMAT]] that implies every date format can be parsed
instead of choosing the pre-defined formats android/ios if mobileOS is selected with -s.
I have a text export with date format "24.07.21, 10:15"
But i don't get it working with the commandline, and option -r EN -f "%d.%m.%y, %H:%M" chatfile.txt
After changing the dates in chatfile.txt to pre-defined android format "%d/%m/%y %H:%M" it works with
the gui but still not with commandline whachat.py
thx
@B16f00t commented on GitHub (Jul 29, 2021):
Ok, let me check it
@B16f00t commented on GitHub (Aug 2, 2021):
Can you tell me the complete format of one line?
Ex. Android
23/5/18 15:24 - USER: TEXT TEXT TEXT
The problem is that depending on the operating system and language the log form changes.
Give a try the latest version 1.55 and see if it solves the problem.
@datenhain commented on GitHub (Aug 4, 2021):
Hi,
the good note is: the german dateformat [12.01.21, 23:42:00] is now recognized and parsed wth the GUI :-)
But..., with commandline I was only able to genereate the participant list, I could not find
the right way to generate the report only with the commandline.
I tried:
python .\libs\whachat.py "D:\path_to_chat_chat.txt" -p -f -s ios -r EN
python .\libs\whachat.py "D:\path_to_chat_chat.txt" -p -f -s ios -r EN -u "username"
python .\libs\whachat.py "D:\path_to_chat_chat.txt" -p -f -s ios -r EN -u "username" -f "%d.%m.%y %H:%M:%S"
python .\libs\whachat.py "D:\path_to_chat_chat.txt" -p -f -s ios -r EN -u "username" -f "%d.%m.%y, %H:%M:%S"
if i omit the "-s ios", no participant list is generated.
So, since the GUI is parsing the dots now with v1.55, this is only a cosmetic problem.
thx
Chris
@B16f00t commented on GitHub (Aug 5, 2021):
python "FULLPATH\libs\whachat.py "D:\path_to_chat_chat.txt"-s android -f "%d.%m.%y %H:%M:%S" -r EN -u "username"
Try this even though you can see the command line in the status bar.
@datenhain commented on GitHub (Aug 5, 2021):
i tried:
does nothing
python.exe .\libs\whachat.py 'D:\path_to_chat_de.txt' -s ios -f "%d.%m.%y, %H:%M:%S" -pworking
python.exe .\libs\whachat.py 'D:\path_to_chat_de.txt' -s ios -f "%d.%m.%y %H:%M:%S" -r EN -u "username"working
python.exe .\libs\whachat.py 'D:\path_to_chat_de.txt' -s android -f "%d.%m.%y %H:%M:%S" -r EN -u "username"generates an exception:
@B16f00t commented on GitHub (Aug 23, 2021):
If the gui works, the terminal must work, copy the complete command, with full paths