Unexpected BehaviorFebruary 1st, 2009 at 15:55
“0929″ != 929.
DateTimewas not in the correct format. I looked into the mapping file and saw a proper time “0929″ equivalent to 9:29 AM. In debugging, however, the hour being passed to the
DateTimeconstructor was 92. This was the obvious source of the error.
RIGHT(2)gave a nonsense time of 92:29. This type of we-hid-the-details-from-you bugs are absolutely irritating. The workaround was relatively simple, just adding a few more controls into the mapping, but it shouldn’t have been necessary. The datum was a string value and had no sense being converted to an integer before actually being turned into a