secondlife / secondlife/viewer

Region/Estate>Environment: Day Offset error with Time of Day

Open
#2,363 6 comments 0 reactions 1 assignee View on GitHub

@Dan-Linden is already working on this.

Since Feb 25, 2026.

  • #2368 by @akleshchev — merged
bug
Dominant language
C++
Stars
299
Forks
146
Avg merge
1d 9h
Merged PRs (30d)
88

Description

Environment

Second Life Release 7.1.8.9375512768 (64bit)
Release Notes

You are at 120.5, 110.4, 23.1 in Pasta Cake located at simhost-0c17a2e76274a7de9.agni
SLURL: http://maps.secondlife.com/secondlife/Pasta%20Cake/121/110/23
(global coordinates 332,153.0, 305,518.0, 23.1)
Second Life Server 2024-06-11.9458617693
Release Notes

CPU: 12th Gen Intel(R) Core(TM) i9-12900HK (2918.4 MHz)
Memory: 32440 MB
OS Version: Microsoft Windows 10/11 64-bit (Build 22631.4037)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: NVIDIA GeForce RTX 3050 Ti Laptop GPU/PCIe/SSE2

Windows Graphics Driver Version: 32.0.15.5599
OpenGL Version: 4.6.0 NVIDIA 555.99

Window size: 1278x1360
Font Size Adjustment: 96pt
UI Scaling: 1
Draw distance: 128m
Bandwidth: 10000kbit/s
LOD factor: 1.5
Render quality: 4
Texture memory: 4095MB
Disk cache: Max size 1638.4 MB (100.0% used)

J2C Decoder Version: KDU v7.10.4
Audio Driver Version: FMOD Studio 2.02.20
Dullahan: 1.14.0.202310131404
CEF: 118.4.1+g3dd6078+chromium-118.0.5993.54
Chromium: 118.0.5993.54
LibVLC Version: 3.0.16
Voice Server Version: Not Connected
Packets Lost: 21/3,686 (0.6%)
August 20 2024 06:49:19

Description

In Region/Estate>Environment, the Apparent Time of Day is incorrectly calculated when moving the Day Offset from 0 to 0.5. The Time of Day is moved by 30% from 0-0.5 and 10% when stepping through any other values.
(Note: this error is so far only spotted while the Day Length is equal to 5 or 10)
https://gyazo.com/b0540102b2824ef47fae89ba35dfcab1

Reproduction steps
  1. Set Day Length to 5.0 and Day Offset to 0.0
  2. Take note of the Apparent Time Of Day percentage
  3. Move the Day Offset in steps of 0.5 (can be done via arrow keys)
  4. Observe the Apparent Time Of Day. It should be adjusted by 10% for each step but

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.