41
Views
5
Comments
[TimezoneReactiveUtils] The specified DateTime (format) is not valid!
timezonemobileutils
Reactive icon
Forge asset by Timezone Mobile Utils
Application Type
Reactive

Just installed the component and the demo. When opening the demo application in the browser I get the following error message : "The specified DateTime (format) is not valid!", eventho the format is not mandatory. UNABLE to use this component.


2023-08-20 04-20-03
RAD Manage

Lorena,

The demo and app seem to both work out of the box for me. The one thing I did have to do before it would function, however, was update references so that OutSystems UI was up to date.

As OutSystems UI affects the inputs for the widgets, this may be the cause of your error. Please check that your references are up to date, and if the error persists, copy/paste the error as it shows up in Service Center or the chrome console so we can assist further.


Best,
RAD Manage

UserImage.jpg
Lorena Morales Hidalgo

I updated the references and it is still poping this issue:
Logger.js:503 [2023-09-06T02:31:34.164Z]: The specified DateTime (format) is not valid! 

TimezoneReactiveUtils.TimeZoneConverter_Error: The specified DateTime (format) is not valid!

    at TimezoneReactiveUtilsController.default.tZ_ConvertToUTC$Action (https://dev.outsystemsenterprise.com/TimezoneReactiveUtilsDemo/scripts/TimezoneReactiveUtils.controller.js?0E+TbgsWt7I4ws7OR3WKxQ:735:7)

    at .outsystemsenterprise.com/TimezoneReactiveUtilsDemo/scripts/TimezoneReactiveUtilsDemo.MainFlow.Demo.mvc.js?B0ASebftBtWW7ao1TNR3tQ:962:48

    at DebuggerBase.handleFunctionCall (https://dev.outsystemsenterprise.com/TimezoneReactiveUtilsDemo/scripts/Debugger.js?ThHlQdvBpSCYv_0c6nxy5A:461:25)

    at React.createElement.React.createElement.React.createElement.React.createElement.value (https://dev.outsystemsenterprise.com/TimezoneReactiveUtilsDemo/scripts/TimezoneReactiveUtilsDemo.MainFlow.Demo.mvc.js?B0ASebftBtWW7ao1TNR3tQ:961:27)

    at t.getCachedValue (https://dev.outsystemsenterprise.com/TimezoneReactiveUtilsDemo/scripts/OutSystems.js?RnlDcii3Xz75iIHHERIZtA:17:11015)

    at React.createElement.React.createElement.placeholders.mainContent [as renderPlaceholder] (https://dev.outsystemsenterprise.com/TimezoneReactiveUtilsDemo/scripts/TimezoneReactiveUtilsDemo.MainFlow.Demo.mvc.js?B0ASebftBtWW7ao1TNR3tQ:960:14)

    at e.render (https://dev.outsystemsenterprise.com/TimezoneReactiveUtilsDemo/scripts/OutSystemsReactView.js?0bmp5RZ49TZneVNXnO6ymw:7:14753)

    at e.render (https://dev.outsystemsenterprise.com/TimezoneReactiveUtilsDemo/scripts/OutSystemsReactWidgets.js?IdWooa_erXOfwU01FQUTuA:3:3008)

    at t.internalRender (https://dev.outsystemsenterprise.com/TimezoneReactiveUtilsDemo/scripts/OutSystemsReactView.js?0bmp5RZ49TZneVNXnO6ymw:7:7196)

    at e. [as render] (https://dev.outsystemsenterprise.com/TimezoneReactiveUtilsDemo/scripts/OutSystems.js?RnlDcii3Xz75iIHHERIZtA:14:15390)

2022-06-22 04-45-40
Adam Gangrekar

Hey @Lorena Morales Hidalgo,

Its working fine for me as well. Maybe reinstall the application and try once more if it works or same error persists.



Regards,
Adam Gangrekar.

2023-08-20 04-20-03
RAD Manage

It looks like by default this expression loads... If you've modified the locals for this expression it could trigger a malformed date to be inserted into the expression.
By default, these expressions are all empty, leaving the default values to be submitted to the function. (Which does not generate an error on a fresh install.)
If you continue to encounter issues I would look remove both the demo and extension and reinstall them fresh.

Alternatively, if you are on-prem it may also be possible that your default datetime is being served in a non-standard way.


Good luck!

2023-08-20 04-20-03
RAD Manage

@Lorena Morales Hidalgo 

If one of our responses successfully addressed your problem, kindly mark it as the solution. This will help other community members who come across this thread in the future.

Best regards,
RAD Manage

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.