View Single Post
Old 06-26-2016, 10:32 PM   #172
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Ravensknight View Post
So, I scrolled down to the 260's and sure enough, one of the entries had year, month, day, hour, minute.
Yes, that should fix it.
Quote:
If I just delete those hour/minute, that should take care of it, right? It just seems a bit daunting to go through all 2700+ entries and eyeball all the extra times. My Mark I eyeball isn't quite what it used to be.
I opened it in LibreOffice. That can use regex for searching. There are two entries with times; line 277 and 1814. But, neither entry should be a problem. They have times of "17:51" and "12:14" respectively. What probably is happening is that because of the extra numbers, the whole timestamp is being interpreted differently. So, "2014,7,8,12,14" is probably being read as "hours, minutes, day, month, year" or "hours, minutes, month, day, year" depending on your locale settings. Formatting the date as a comma separate list is not something I've seen before. It is probably giving the date parsing routine a bit to much leeway in how to interpret the timestamp. If it was changed to a more common format like "2014-7-8 12:14", it would be interpreted correctly.

I will have a look at the date handling and see if there is an easy way to fix this.
davidfor is offline   Reply With Quote