Convert PocketBase dates to Berlin time; document code conventions
This commit is contained in:
1 parent
4b93434679
commit
aef05fb090
11 files changed
+406
-129
No files matched your search
@@ -295,15 +295,18 @@ public sealed class PocketBaseFixture : IAsyncLifetime
|
||||
body = "Text", slug = "new-hall", @public = true,
|
||||
});
|
||||
|
||||
// Events: the meeting carries the wall-clock time the timezone test checks.
|
||||
// Events: PocketBase stores UTC. The meeting is 19:30 Berlin; October is
|
||||
// summer time (UTC+2), so it is stored as 17:30Z and the timezone test
|
||||
// expects 19:30 back. The Herbstbasar is 09:00-13:00 Berlin in November
|
||||
// (winter, UTC+1), stored as 08:00Z-12:00Z.
|
||||
await CreateRecordAsync(http, "events", new
|
||||
{
|
||||
start = "2026-10-08 19:30:00.000Z", title = "Elternbeiratssitzung",
|
||||
start = "2026-10-08 17:30:00.000Z", title = "Elternbeiratssitzung",
|
||||
location = "Aula", note = "", @public = true,
|
||||
});
|
||||
await CreateRecordAsync(http, "events", new
|
||||
{
|
||||
start = "2026-11-22 09:00:00.000Z", end = "2026-11-22 13:00:00.000Z",
|
||||
start = "2026-11-22 08:00:00.000Z", end = "2026-11-22 12:00:00.000Z",
|
||||
title = "Herbstbasar", location = "Schulhof", note = "", @public = true,
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user