Skip to content

Missing parenthesis in sas7bdat.go causes the ConvertDates flag to be ignored #23

@DonErdman

Description

@DonErdman

Line 705 of sas7bdat.go should be:

if sas.ConvertDates && ( sas.ColumnFormats[j] == "MMDDYY" || sas.ColumnFormats[j] == "DATE") {

Here is a small test file that shows the problem:
small.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions