mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #945] [Issue]: Conversation prompt timestamps use UTC instead of local timezone #461
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#461
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cha1latte on GitHub (May 17, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/945
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Conversation Mode prompt timestamps appear to use UTC/server time instead of the user's local timezone, causing characters to reason about the wrong current time when timestamping is enabled.
Expected behavior
When a user sends a Conversation Mode message, any prompt-injected message timestamps or current-time context should align with the user's local/system timezone, or with an explicit configured timezone.
For example, a user in JST sending a message at
03:45should have characters reason from approximately03:45 JST, not18:45 UTC.Actual behavior
A Discord reporter in JST says that when they send a conversation message at about
03:45 AM, the character says or behaves as if it is06:45 PM. That offset matches UTC conversion (03:45 JST=18:45 UTCon the previous day), so the model appears to be reading UTC-formatted prompt timestamps rather than local time.Another user later checked v1.5.9 and v1.6.0 and said the issue still occurs there, while it was not occurring for them in v1.5.8.
Steps to reproduce
.exeinstaller.03:45 JST.18:45.Marinara Engine version
Reported as still occurring in v1.5.9 and v1.6.0. Another user said it was not occurring in v1.5.8.
Install type
Installer
OS + version
Not specified. Reporter was using the
.exeinstaller, likely Windows.Browser or app shell
Installer app shell
Screenshots or video
Not a visual/UI issue.
Logs
Not provided.
Additional context
Source: Discord support thread from May 10-11, 2026.
Original example:
That is consistent with UTC prompt-time injection:
Related but not exact duplicates:
Current code appears to format Conversation Mode prompt timestamps on the server with
Date#getHours()/Date#getMinutes(), so this may depend on the server/process timezone rather than the client/user timezone. Docker/VPS installs have a documentedTZworkaround, but the installer/app-shell report suggests local desktop users can still end up with UTC-like prompt timestamps.Temporary workaround from Discord: turn off timestamps, or explicitly state the local time/timezone in Author's Note or prompt context.
Template check
@SpicyMarinara commented on GitHub (May 23, 2026):
Implemented in the local fix pass.
What changed:
Validation run:
pnpm --filter @marinara-engine/shared lintpnpm --filter @marinara-engine/server lintthisto globalThis in module loader #4627