Question
Where does the value for \tdatetime_default, passed to CurrentDate, come from?
I was wondering about the (Pega-RULES:DateTime).CurrentDate function.
The rule RULE-OBJ-ACTIVITY @BASECLASS SHOWCALENDAR has in it's second step this call:
Lib(Pega-RULES:DateTime).CurrentDate("\tdatetime_default", Param.TimeZone)
in a Property-Set, but I haven't been able to find that value anywhere. We've been dealing with formatting for dates in our program without issue before now, but we need to make a change (our formatting was bad in a few rules, using DD instead of dd). Thinking ahead, if we end up encountering a problem like this again, I would like the ability to set these all according to a single value.
The obvious route would be a Data-Admin-System-Setting, but I came across this parameter while I was looking into it, and it piqued my curiosity, so I was wondering if anyone knew offhand, or could point me in the right direction as to where, if anywhere, this value is being populated from?
Perhaps the dataTime library or the java packages that are included in the library holds the key !
Let us see what other on this forum has to say.