mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-11 19:03:51 +02:00
Fix group calendar fetch UTC time sometimes causing a month shift
This commit is contained in:
@@ -372,7 +372,7 @@
|
||||
params: {
|
||||
n: 100,
|
||||
offset: 0,
|
||||
date: dayjs(selectedDay.value).toISOString()
|
||||
date: dayjs(selectedDay.value).format('YYYY-MM-DDTHH:mm:ss[Z]') // this need to be local time because UTC time may cause month shift
|
||||
},
|
||||
handle(args) {
|
||||
args.results.forEach((event) => {
|
||||
@@ -398,7 +398,7 @@
|
||||
params: {
|
||||
n: 100,
|
||||
offset: 0,
|
||||
date: dayjs(selectedDay.value).toISOString()
|
||||
date: dayjs(selectedDay.value).format('YYYY-MM-DDTHH:mm:ss[Z]')
|
||||
},
|
||||
handle(args) {
|
||||
args.results.forEach((event) => {
|
||||
@@ -422,7 +422,7 @@
|
||||
params: {
|
||||
n: 100,
|
||||
offset: 0,
|
||||
date: dayjs(selectedDay.value).toISOString()
|
||||
date: dayjs(selectedDay.value).format('YYYY-MM-DDTHH:mm:ss[Z]')
|
||||
},
|
||||
handle(args) {
|
||||
args.results.forEach((event) => {
|
||||
|
||||
Reference in New Issue
Block a user