asdas
All checks were successful
Deploy / deploy-staging (push) Successful in 6s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-05-11 01:57:23 +02:00
parent ebbdb52f93
commit 0f8f9567fe
6 changed files with 306 additions and 57 deletions

View File

@@ -515,7 +515,7 @@ $mm->registerFunction($moduleName, 'alpha_vantage_request', static function (
});
$mm->registerFunction($moduleName, 'display_timezone', static function (): \DateTimeZone {
return new \DateTimeZone('Europe/Berlin');
return new \DateTimeZone(nexus_display_timezone_name());
});
$mm->registerFunction($moduleName, 'normalize_market_timestamp_utc', static function (mixed $value): string {
@@ -547,7 +547,7 @@ $mm->registerFunction($moduleName, 'format_datetime_for_display', static functio
return '';
}
$displayTimezone = new \DateTimeZone('Europe/Berlin');
$displayTimezone = new \DateTimeZone(nexus_display_timezone_name());
$source = trim((string) $source);
if (str_starts_with($source, 'bavest:') || str_starts_with($source, 'alphavantage:')) {