Remove unnecessary timezone conversion from events display
- Remove JavaScript date manipulation that was causing timezone issues - Let church-core API handle all date/time formatting consistently - Events now display exactly what the Rust backend provides
This commit is contained in:
parent
f67201b35e
commit
e63e617749
|
@ -80,12 +80,7 @@ try {
|
|||
{event.formatted_time && (
|
||||
<div class="flex items-center space-x-2 text-gray-600 dark:text-gray-300">
|
||||
<i data-lucide="clock" class="w-4 h-4"></i>
|
||||
<span class="text-sm">{
|
||||
// For multi-day events, extract just the time part
|
||||
event.formatted_time.includes(' - ') && event.formatted_time.includes(',')
|
||||
? event.formatted_time.split(', ').pop()
|
||||
: event.formatted_time
|
||||
}</span>
|
||||
<span class="text-sm">{event.formatted_time}</span>
|
||||
</div>
|
||||
)}
|
||||
|
||||
|
|
Loading…
Reference in a new issue