Skip to content

Date fields are not supported #58

Description

@milak

Hi i am trying to use your API but it seems DATE fields are not supported.
To fix this problem, i added in function :

func handleRow(p *packetRowData, c *Client, r *Result) (err os.Error) {

this piece of code :

// Date
case FIELD_TYPE_DATE :
field,_ = time.Parse("2006-01-02", string(p.row[i].([]byte)))

Thanx for your work

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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