Site default timezone should be used when timezone not specified in CSV file

Created on 1 February 2023, almost 2 years ago
Updated 17 May 2023, over 1 year ago

Problem/Motivation

If you don't include a timezone in your import file, the import process sets the timezone of the new user accounts to UTC, rather than respecting the default timezone of the site.

Steps to reproduce

Set the default timezone of the website to something other than UTC. Import users from CSV without specifying the timezone. The new accounts will have UTC timezone set on their accounts.

Proposed resolution

Use default site timezone instead of hard-coding UTC.

Remaining tasks

Review patch.

User interface changes

None.

API changes

New user accounts will no longer have UTC timezone by default, unless UTC is the default site timezone.

Data model changes

None.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States zengenuity

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024