mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 05:45:50 +00:00
Fix event all day
This commit is contained in:
@@ -36,7 +36,10 @@ export class ListBoxService {
|
||||
list(eventSource: EventListStore[], profile: 'md' | 'pr' | 'all', rangeStartDate, randEndDate, {segment = 'Combinado', selectedDate= null}) {
|
||||
|
||||
if(selectedDate) {
|
||||
eventSource = eventSource.filter(data => data.startTime.toLocaleDateString('pt')>= selectedDate.toLocaleDateString('pt'))
|
||||
eventSource = eventSource.filter(data =>
|
||||
data.startTime.toLocaleDateString('pt')>= selectedDate.toLocaleDateString('pt') &&
|
||||
data.startTime.getMonth() == selectedDate.getMonth()
|
||||
)
|
||||
}
|
||||
|
||||
if(segment!='Combinado') {
|
||||
|
||||
Reference in New Issue
Block a user