Issue
- Getting inconsistent user login date format in CSV file after exporting the users.
- Steps to reproduce:
- Add the last login date to the portal-ext.properties file, and reference the article for the same: Include more user attributes when exporting users to a CSV file.
- Start Liferay Portal 6.2 SP20 contains liferay-fixpack-portal-154-6210. Navigate to Admin > Users > Add Members > Users, and add the users.
- Now, navigate to the Admin > Control Panel > Users and Organization > All Users.
- Export the users and save the CSV file.
Observed Behavior: After exporting the users in the CSV file, the date is visible in the incorrect format. However, in the first attempt, it shows the incorrect date. In the second attempt, it shows the correct date format.
Correct date format: Wed Sep 13 06:45:47 GMT 2023
Incorrect date format: 2023-09-13 06:09:21.857
Environment
- Liferay Portal 6.2
Resolution
- The observed behavior is a known bug addressed by the LPE-15967 and has already been included in liferay-fixpack-portal-155-6210.
Additional Information
- If a hotfix is required, please create a support ticket requesting the hotfix by attaching the patch details.
- Installing Fix Packs and Hotfixes on Liferay DXP will guide you to install the Fixpack/Hotfix in your environment.