mox/queue
Mechiel Lukkien daa88480cb
fix potential endless loop during queue msg/hook pagination when environment has TZ UTC, triggered by tests introduced in previous test
time.Now() returns a timestamp with timezone Local. if you marshal & unmarshal
it again, it'll get the Local timezone again. unless the local timezone is UTC.
then it will get the UTC timezone. the same time.Time but with explicit UTC
timezone vs explicit UTC-as-Local timezone are not the same when comparing with
==. so comparison should be done with time.Time.Equal, or comparison should be
done after having called .Local() on parsed timestamps (so the explicit UTC
timezone gets converted to the UTC-as-Local timezone). somewhat surprising that
time.Local isn't the same as time.UTC if TZ=/TZ=UTC. there are warnings
throughout the time package about handling of UTC.
2024-04-16 14:18:11 +02:00
..
direct.go add a webapi and webhooks for a simple http/json-based api 2024-04-15 21:49:02 +02:00
dsn.go add a webapi and webhooks for a simple http/json-based api 2024-04-15 21:49:02 +02:00
hook.go fix potential endless loop during queue msg/hook pagination when environment has TZ UTC, triggered by tests introduced in previous test 2024-04-16 14:18:11 +02:00
hook_test.go fix potential endless loop during queue msg/hook pagination when environment has TZ UTC, triggered by tests introduced in previous test 2024-04-16 14:18:11 +02:00
queue.go fix potential endless loop during queue msg/hook pagination when environment has TZ UTC, triggered by tests introduced in previous test 2024-04-16 14:18:11 +02:00
queue_test.go add a webapi and webhooks for a simple http/json-based api 2024-04-15 21:49:02 +02:00
submit.go add a webapi and webhooks for a simple http/json-based api 2024-04-15 21:49:02 +02:00
suppression.go add a webapi and webhooks for a simple http/json-based api 2024-04-15 21:49:02 +02:00
suppression_test.go add a webapi and webhooks for a simple http/json-based api 2024-04-15 21:49:02 +02:00