lsc
lsc copied to clipboard
DateUtils.format does not seems to manage timezones
Hello,
I use this code to have the LDAP formatted date of current time:
DateUtils.format(new java.util.Date());
My server is on Paris CET time. If i run the code on 6 November 2025 at 17h30 (Paris CET time), I get LDAP date 20251106173000.000Z instead of 20251106163000.000Z