#1083 binary data mode breaks date parsing, even for %s formats

closed-works-for-me
nobody
None
5
2012-03-09
2012-01-22
Craig DeForest
No

The %s mode, which makes the date column a single number, should work fine in binary mode with double or long-integer data, but doesn't. There is a work-around -- force communication into ASCII mode -- but that is a kludge: it ought to work in all cases where binary formatting makes sense.

Discussion

  • Ethan Merritt
    Ethan Merritt
    2012-01-22

    Could you please give a specific example of what you tried that didn't work? So far as I know, no special handling is needed to read in raw seconds from a binary file. This has been true since at least version 4.4.1. The "%s" is a format, and as such is relevant only for ascii input.

     
  • Craig DeForest
    Craig DeForest
    2012-01-25

    I will test now that I am in 4.4pl3.

     
  • Ethan Merritt
    Ethan Merritt
    2012-03-09

    • status: open --> closed-works-for-me