Closed xieofxie closed 1 year ago
Thanks for pointing out the issues. 1: DateTimeNoTimeZone is type that does not use local timezone for datetime. 2: we only can coerce from specific type to the list of types that it allows, we don't allow coerce from one to Any. 3: Number to Time is not supported in TypeCoercionProvider yet. 4: We fix it in PR: https://github.com/microsoft/Power-Fx/pull/1656
Fixed in PR https://github.com/microsoft/Power-Fx/pull/1656
Check https://github.com/microsoft/Power-Fx/blob/76c3cade7d5a95cd083edabeb9d582e6a84192d9/src/libraries/Microsoft.PowerFx.Interpreter/Marshal/TypeCoercionProvider.cs#L99
One of them must be wrong