How to use the type “month” in JSON Data Types

Answered

What does this type expect as input and what does it output?

I have tried it with several input values such as Datetime string or yyyy-mm-dd formatted date but none worked.

Same question for the weekday type.

3 answers

WebDataRocks Team WebDataRocks September 19, 2019

Hello Toky,
 
Thank you for the question.
month type can be used for string values such as January, February, etc.
When using month type, members of such hierarchy will be sorted correctly from January to December.
 
Same for the weeday, it works with Monday, Tuesday, etc.
 
Please let us know if it was helpful.
 
Regards,
WebDataRocks Team

Toky Ratefinanahary September 20, 2019

Thanks.
Didn’t think it was that simple. I overthought it.
Does the value have to match with the configured translation in the localization?

WebDataRocks Team WebDataRocks September 24, 2019

Hello Toky,
 
Yes, month and weekday values have to match the localization values.
 
Regards,
WebDataRocks Team

Please login or Register to Submit Answer