Skip to content

Passing timezone as nil to encode-universal-time #6

@Yehouda

Description

@Yehouda

In date.lisp, clsql-date/times->utime, passes timezone to encode-universal-time, and the comment says you can pass nil, and the test clsql-date/times->utime-test tests this.

But timezone is defined to be a rational number (http://www.lispworks.com/documentation/lw71/CLHS/Body/26_glo_t.htm#time_zone), so this is illegal call.

Can fix it by passing (or timezone 0) instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions