We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3324542 commit 7ba9e24Copy full SHA for 7ba9e24
1 file changed
src/localizers/dayjs.js
@@ -192,8 +192,7 @@ export default function (dayjsLib) {
192
const tm = dayjs(time).format('HH:mm:ss')
193
const dt = dayjs(date).startOf('day').format('MM/DD/YYYY')
194
// We do it this way to avoid issues when timezone switching
195
- const mergedDateTime = dayjs(`${dt} ${tm}`).toDate()
196
- return dayjsLib(mergedDateTime).utc(true).toDate()
+ return dayjs(`${dt} ${tm}`).toDate()
197
}
198
199
function add(date, adder, unit) {
0 commit comments