Closed (outdated)
Project:
User Import
Version:
7.x-3.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jan 2013 at 03:00 UTC
Updated:
8 Jun 2019 at 13:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
R3ason commentedComment #2
leanderl commentedI can confirm this bug and that the fix solves the problem. (Using user_import 7.x-2.1 and Drupal 7.25).
Really nice module, keep up the good work!
Comment #3
kevinvb commentedI'm updating this module to version 1.1. and the same issue is still present.
So i patched it with the use of the default timezone of the website, if that isn't found i use the Europe/Brussels timezone because that's my timezone, but normally when you install Drupal you will always have a default timezone as a variable set in your system except when you wrote code that deletes it. But who does that?
Comment #4
gisleThis seems to ficed in the latest stable release:
$account_add['timezone'] = variable_get('date_default_timezone', @date_default_timezone_get());