Skip to content

Resolve "origin time wrong in summary quakeml"

Closes #17 (closed)

  • Use php DateTime object for parsing millisecond timestamp relative to epoch.
  • Remove duplicate formatting method from quakeml class.

Millisecond parsing/formatting logic had a bug for negative timestamps

  • seconds were rounded up one
  • non-zero milliseconds were output as (1000 - ms)

Merge request reports