Where would the date and time format used in the wtbman utility be defined ?
On two recently installed servers the date time format is returning differently when querying the broker and agents using the wtbman utility.
All previous and even other recent installed server all returns the expected date format.
I have compared a few servers in regards to the installed O/S version and O.E. version+patch, and have also tried using the JAVA version in DLC and the LOCAL installed, but are still unable to find out why it is returning differently.
Expected: ( MMM DD, CCYY HH:MM )
PID State Port nRq nRcvd nSent Started Last Change
30157 AVAILABLE 31151 002269 002269 002269 Mar 12, 2019 05:14 Mar 12, 2019 10:52
Server 1: ( DD MMM CCYY HH:MM )
PID State Port nRq nRcvd nSent Started Last Change
25520 AVAILABLE 37101 000019 000019 000019 12 Mar 2019 05:00 12 Mar 2019 09:42
Server2: ( DD-MMM-CCYY HH:MM )
PID State Port nRq nRcvd nSent Started Last Change
36834 AVAILABLE 31013 000000 000000 000000 08-Mar-2019 11:00 12-Mar-2019 10:52
Any guidance in resolving this would be appreciated.
I suspect it depends on system locale. You can try checking system locales on server 1 and server 2 using a simple java program:
import java.util.Locale; public class Dformat { public static void main(String[] args) { System.out.println(Locale.getDefault()); } }