gokibitz
gokibitz copied to clipboard
Invalid Date
http://gokibitz.com/kifu/Q1em_88s
I see an "invalid date", despite my brilliant fix several months ago that made GoKibitz deal properly with every kind of date I'd seen thrown at it so far. Check out what the actual date is on this SGF and see if it conforms to the spec. If it doesn't, think about whether "invalid date" is the best way to deal with, umm, invalid dates. (Maybe it is.)
Can you post the SGF that causes this?
Yes! https://gokibitz.com/api/kifu/Q1em_88s/sgf?nocomments=true
Doh! Of course. Thanks.
That's a messed up date string. I feel like to solve this will just have to inevitably involve a complicated if else structure of parsing. Maybe just leaving it blank is better overall.
As long as it doesn't conform to the spec, I'm happy either leaving it at "invalid date" or changing it to just be blank.