Stringly typed datetimes. I found the culprit... At level 49 of the call stack. The offending function is a data sanitizing routine that didn't know how to handle 12 hour times with the AM/PM at the end. It'd truncate those off then convert so afternoon times would be evaluated as 24 hour notation and turn to AM.
The real WTF? It's happening on enter. Not exit, and affecting an entire grid, not just a single cell or edit. (Actually, there's a lot more WTF-ery than that, but this is a code base that probably started in the DOS Pascal era.)
Stringly typed datetimes. I found the culprit... At level 49 of the call stack. The offending function is a data sanitizing routine that didn't know how to handle 12 hour times with the AM/PM at the end. It'd truncate those off then convert so afternoon times would be evaluated as 24 hour notation and turn to AM.
ReplyDeleteThe real WTF? It's happening on enter. Not exit, and affecting an entire grid, not just a single cell or edit. (Actually, there's a lot more WTF-ery than that, but this is a code base that probably started in the DOS Pascal era.)
ReplyDeleteHmm... Are those teardrops, fangs, or dimples, in your smiley?
ReplyDelete