T16 review fixes: an unknown system zone stops instead of reading as UTC, the view window refits when data shrinks, the volume profile counts narrow and flat candles whole, Fibonacci labels stay in their pane, the DOM ladder shows its tick's decimals, the tape flashes on each new trade, typed numbers reach their owner before a press, and a smaller loss than expected reads as a beat

This commit is contained in:
ZacharyZhang-NY committed 2026-09-25 23:52:42 -04:00
1 parent 8d43b7a880
commit a4700becde
14 files changed
+230 -65

No files matched your search

+3 -5
View File
@@ -11,9 +11,10 @@ mod zone;
use jiff::{
Timestamp, Zoned,
civil::{Date, Time},
tz::TimeZone,
};
use crate::typography::format::system_zone;
pub use calendar::Calendar;
pub use cron::CronEditor;
pub use period::{MonthPicker, QuarterPicker, YearPicker};
@@ -26,10 +27,7 @@ pub use zone::TimezoneSelect;
/// The system's clock in its own zone. An unknown zone stops here, not in UTC.
pub(crate) fn zoned_now() -> Zoned {
let zone = TimeZone::try_system().unwrap_or_else(|error| {
panic!("the system time zone is unknown; pass a fixed date: {error}")
});
Timestamp::now().to_zoned(zone)
Timestamp::now().to_zoned(system_zone("date pickers"))
}
/// A day as "Sep 25, 2026".