The today()
function doesn't return the current time value when local dates are used
#9164
Labels
today()
function doesn't return the current time value when local dates are used
#9164
T21087 - How do I set current Time for time field?
https://surveyjs.answerdesk.io/internal/ticket/details/T21087
https://github.com/surveyjs/survey-library/blob/1a60bc03fce816fccbc8d9d2c403c16aab7197e1/packages/survey-core/src/functionsfactory.ts#L311C10-L311C15
When
settings.localization.useLocalTimeZone
is enabled, thetoday()
function is expected to return the current time value.However, it always returns
12:00 AM
. I expect it to return the same value asnew Date()
.View Demo
The text was updated successfully, but these errors were encountered: