Skip to content

Storer interface from REST Layer does not produce correct time.Now() format #1

@SAFAD

Description

@SAFAD

As explained in the comment in the pgsql.go file:

//another cheap hack of the cheapest hacks ever hacked in the history of cheapness
//but seriously why is time.Time type returns this incompatible format?
//example: 2018-02-27 23:07:44.4179416 +0100 CET m=+7.679574500
//the m=+7.679574500 appears from nowhere and is unparsable or formattable
//TODO: FIXME!

The workaround has been implemented and tested in getInsert and getUpdate functions (lines: 310-312, 273-275) however this bug needs to be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions