Skip to content

Handle serializing of java.util.Date properly #15

@egli

Description

@egli

We currently try to use java.sql.Date for all dates, so that when toString is invoked on them we get an iso date. This approach is flawed as we have to convert all dates to this even when coming off the wire from a queue for the sole purpose of having an iso date in all the generated xmls. It would be better to handle this in the emit stage of the xml emitting.

  • extend the protocols in clojure.data.xml
    • probably both
  • remove all the the other stuff
    • to-string
    • isoify
    • to-sql-date

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions