-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Czech locale #39
Comments
So the issue with the messed up As to the I'll try downloading my own data in the Czech locale and see if I can find a solution. I'll post back here when I've got it sorted out 👍 |
@mijujda hmm, I just tried using your code and was able to get it to work on my own data by changing the Can you try the same and confirm if that works for you? Not sure the |
Thank you for quick reply, unfortunately changing the time format to Update: I managed to get it working outside |
Great! I updated the tool with Czech support in version |
Hi,
I really appreciate your work on this. Could you please add support for czech time formats? I get following error:
Unexpected time format in "13. březen 2014 v 19:42 UTC+01". If you downloaded your Facebook data in a language other than English, then it's possible support may need to be added to this tool.
The timestamp in czech looks like this:
<span class="meta">13. březen 2014 v 19:42 UTC+01</span>
which translates to: "13. march 2014 at 19:42 UTC+01"
I've tried adding support myself, comming up with following format:
("cs_cz", "D. MMMM YYYY [v] HH:mm")
and running
python ./setup.py develop
as mentioned in this comment, but I still get the error (maybe because of non-ASCII characters, such asř
).I would really appreciate if you could look into this, thank you.
Sidenote: I've noticed that, for some reason, facebook for some time used different forms of month names, such as
13. března
instead of13. březen
, which might cause some issues asarrow
library supports only one form. This affected only few messages in my file, but might cause trouble when adding official czech locale support (I myself replaced those in Notepad).The text was updated successfully, but these errors were encountered: