Skip to content

provision-account: optional --timezone at creation (assumed by #537, never built) #603

Description

@mforce

Split out of #537 (closed), which assumed this already existed and it does not. Recorded rather than
left to rot in a closed issue, per the repo's own rule that an unmet acceptance criterion becomes a
follow-up issue or a written won't-fix.

What #537 claimed

Its body stated that the #264 AGENTS.md bullet was stale because "provision-account now takes a
timezone at creation"
.

What is actually shipped (verified 2026-08-25)

provision-account accepts --name --slug --owner-email --locale --currency
(src/Cluckwork.Api/Cli/ProvisionAccountCliCommand.cs:15-19), and AccountProvisioner.ProvisionInput
(src/Cluckwork.Infrastructure/Identity/AccountProvisioner.cs:180-185) has no timezone field. There is
no timezone flag.

A newly provisioned farm therefore starts on whatever the account default is, and its owner sets the real
zone in Settings after first login — which is exactly the #264 behaviour the epic described for the
default account.

Why it might be worth adding

#264 is load-bearing: the clock resolves IANA zones via TimeZoneInfo.FindSystemTimeZoneById and fails
closed
, and every date the farm sees depends on it. An operator provisioning a farm in another region
already knows its timezone at creation time; making them wait for the Owner's first login means the farm's
first day of data is recorded against the wrong zone.

Why it may not be worth adding

The farm's Owner sets it in Settings on first login, and until then no data exists to be misdated. The
current behaviour is not broken — it is just later than it could be.

If built

Not a blocker

Epic #530 is substantially shipped without it, and #537 closed with this recorded as deliberately not met.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions