Issue Symptoms
When bulk importing users into MorgWard via CSV upload, the dates are formatted incorrectly.
Conditions
- CSV is opened in Microsoft Excel.
- Date format is entered in dd/mm/yyyy, but Excel changes the year format to be two digits.
- For example, 08/09/16 listed in the CSV shows up as "September 8, 16" on the imported user's profile.
Resolution
The appropriate formatting for dates should be "dd/mm/yyyy". By default, Microsoft Excel changes the number of digits in the year from four down to two. You need to modify the formatting so that all four digits are included when saving your file. To do this, take the following steps:
- Open your file in Microsoft Excel
- Right-click the column containing dates
- Select "Format cells"
- Click "Date" under Number >> Category
- Ensure the Location (Language) is set to be United Kingdom (English)
- Select formatting that shows the date in the dd/mm/yyyy format
Alternatively, you can create the CSV in Google Sheets, which does not alter the formatting of dates. Once the data is entered into Google Sheets, you can download the CSV by going to File >> Download as >> Comma-separated values (.csv current sheet).
For more information, see the article: Bulk importing users.
Comments
0 comments
Please sign in to leave a comment.