summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorVeronika Kabatova <vkabatov@redhat.com>2018-02-22 16:24:46 +0100
committerDaniel Axtens <dja@axtens.net>2018-03-08 01:28:11 +1100
commit8465e33c23310e4873d464fe2581842df2e9c6f8 (patch)
treedc5c933f797f0548143ffecf9c1b9dfbacba6dfc /releasenotes
parent5e0e06db42ffd62a7258448ea21e4a5ca5e7430b (diff)
downloadpatchwork-8465e33c23310e4873d464fe2581842df2e9c6f8.tar
patchwork-8465e33c23310e4873d464fe2581842df2e9c6f8.tar.gz
Avoid timezone confusion
Patchwork saves patches, comments etc with UTC timezone and reports this time when opening the patch details. However, internally generated processes such as events are reported with the instance's local time. There's nothing wrong with that and making PW timezone-aware would add useless complexity, but in a world-wide collaboration a lot of confusion may arise as the timezone is not reported at all. Instance's local time might be very different from the local time of CI integrating with PW, which is different from the local time of person dealing with it etc. Use UTC everywhere by default instead of UTC for sumbissions and local timezone for internally generated events (which is not reported). Signed-off-by: Veronika Kabatova <vkabatov@redhat.com> [dja: - squash 2 patches: https://patchwork.ozlabs.org/patch/876744/ https://patchwork.ozlabs.org/patch/877815/ - minor changes to both patches - rejig order of migrations and adjust wording: "happened sooner" -> "happened earlier"] Tested-by: Daniel Axtens <dja@axtens.net> Signed-off-by: Daniel Axtens <dja@axtens.net>
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/unify-timezones-0f7022f0c2a371be.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/releasenotes/notes/unify-timezones-0f7022f0c2a371be.yaml b/releasenotes/notes/unify-timezones-0f7022f0c2a371be.yaml
new file mode 100644
index 0000000..5ea1f18
--- /dev/null
+++ b/releasenotes/notes/unify-timezones-0f7022f0c2a371be.yaml
@@ -0,0 +1,7 @@
+---
+other:
+ - |
+ Unify timezones used -- use UTC for both email submissions and internal
+ events. Please note that this change doesn't modify already existing data
+ so in case the instance's timezone is UTC+XX, events will appear out of
+ order (as if they happened earlier) for XX hours in the events API feed.