Thread: Dialcentral 1.0
View Single Post
Posts: 3 | Thanked: 7 times | Joined on Mar 2010
#1162
Hm, if you use DialCentral with a locale which does not use PM/AM time format, you can't get the calls history or messages list, but you get instead a "unparsed data remains: AM" error (or something along the line). This is due to the fact that the %p in strptime is user locale dependant : the parsed uses C (or so), while strptime doesn't expect any thing behind %p since my locale (fr_FR) uses 24 hours time format.
I've written a small patch against latest git that temporarily switches the locale to C when parsing such dates. It's not /that/ clean but it works, and I don't see a cleaner way of doing this.

Thanks for this awesome piece of software anyway

PS : i don't know if this affects TOR, I haven't been able to try yet
 

The Following 3 Users Say Thank You to iXce For This Useful Post: