YetiForceCompany / YetiForceCRM

Our team created for you one of the most innovative CRM systems that supports mainly business processes and allows for customization according to your needs. Be ahead of your competition and implement YetiForce!
https://yetiforce.com
Other
1.74k stars 749 forks source link

[bug] Weekday labels in month view are incorrect depending on time zone #17322

Closed ghost closed 1 year ago

ghost commented 1 year ago

🐞 bug report

⁉️ Describe the bug

Weekday labels in month view are incorrect when using the following timezones, America/New_York, America/Los_Angeles, America/Vancouver. These are the timezones I have tried, however it seems this issue affects time zones to the left (geographically) of UTC

European time zones seem to work fine

πŸ”₯ How to trigger the error

  1. Install YetiForce,
  2. During install set system timezone to America/New_York or America/Los_Angeles
  3. Set operating system timezone to America/New_York (or any of the time zones listed above)
  4. Open calendar

πŸ‘Ž Actual Behavior

OS Time: America/New_York

20231103-181634

πŸ‘ Expected Behavior

OS Time: UTC 20231103-181742

πŸ‘· Testing

I unsure if issue persists in gitstable or gitdeveloper, I have tested from my end and it seems to not be the case.

πŸ“· Screenshot of configuration

This is on a freshly installed instance but the issue persists on production server

ConfReport

πŸ“ PHP/Apache/Nginx/Browser/CRM Logs

2023-11-03 11:07:10.2286 [info][[yii\db\Connection::open]] - Opening DB connection: mysql:host=localhost;dbname=yfprod;port=3306 2023-11-03 11:07:10.2291 [info][[yii\db\Command::query]] - SELECT EXISTS(SELECT FROM vtiger_users WHERE (id=1) AND ((status='Active') AND (deleted=0))) 2023-11-03 11:07:10.2293 [info][[yii\db\Command::query]] - SELECT EXISTS(SELECT FROM vtiger_users WHERE id=1) 2023-11-03 11:07:10.2336 [info][[yii\db\Command::query]] - SELECT FROM vtiger_tab 2023-11-03 11:07:10.2348 [info][[yii\db\Command::query]] - SELECT FROM vtiger_entityname 2023-11-03 11:07:10.2359 [trace][] - Entering getColumnFields(Calendar) method ... 2023-11-03 11:07:10.236 [info][[yii\db\Command::query]] - SELECT FROM vtiger_field LEFT JOIN s_yf_fields_anonymization ON vtiger_field.fieldid = s_yf_fields_anonymization.field_id WHERE tabid=9 2023-11-03 11:07:10.2365 [trace][] - Exiting getColumnFields method ... 2023-11-03 11:07:10.2366 [info][[yii\db\Command::query]] - SELECT vtiger_field., s_yf_fields_anonymization. FROM vtiger_field LEFT JOIN vtiger_blocks ON vtiger_field.block = vtiger_blocks.blockid LEFT JOIN s_yf_fields_anonymization ON vtiger_field.fieldid = s_yf_fields_anonymization.field_id WHERE vtiger_field.tabid=9 ORDER BY vtiger_blocks.sequence, vtiger_field.sequence 2023-11-03 11:07:10.2376 [info][[yii\db\Command::query]] - SELECT FROM vtiger_blocks WHERE blockid=19 LIMIT 1 2023-11-03 11:07:10.238 [info][[yii\db\Command::query]] - SELECT FROM vtiger_blocks WHERE blockid=20 LIMIT 1 2023-11-03 11:07:10.2382 [info][[yii\db\Command::query]] - SELECT FROM vtiger_blocks WHERE blockid=40 LIMIT 1 2023-11-03 11:07:10.2385 [info][[yii\db\Command::query]] - SELECT FROM vtiger_blocks WHERE blockid=117 LIMIT 1 2023-11-03 11:07:10.2387 [info][[yii\db\Command::query]] - SELECT FROM vtiger_blocks WHERE blockid=87 LIMIT 1 2023-11-03 11:07:10.2392 [info][[yii\db\Command::query]] - SELECT FROM vtiger_ws_fieldtype 2023-11-03 11:07:10.2395 [trace][] - Entering isPermitted(Accounts,,,) method ... 2023-11-03 11:07:10.2395 [trace][] - Exiting isPermitted method ... - SEC_USER_IS_ADMIN 2023-11-03 11:07:10.2396 [trace][] - Entering isPermitted(Leads,,,) method ... 2023-11-03 11:07:10.2396 [trace][] - Exiting isPermitted method ... - SEC_USER_IS_ADMIN 2023-11-03 11:07:10.2396 [trace][] - Entering isPermitted(Vendors,,,) method ... 2023-11-03 11:07:10.2396 [trace][] - Exiting isPermitted method ... - SEC_USER_IS_ADMIN 2023-11-03 11:07:10.2396 [trace][] - Entering isPermitted(Partners,,,) method ... 2023-11-03 11:07:10.2396 [trace][] - Exiting isPermitted method ... - SEC_USER_IS_ADMIN 2023-11-03 11:07:10.2396 [trace][] - Entering isPermitted(Project,,,) method ... 2023-11-03 11:07:10.2396 [trace][] - Exiting isPermitted method ... - SEC_USER_IS_ADMIN 2023-11-03 11:07:10.2396 [trace][] - Entering isPermitted(HelpDesk,,,) method ... 2023-11-03 11:07:10.2396 [trace][] - Exiting isPermitted method ... - SEC_USER_IS_ADMIN 2023-11-03 11:07:10.2396 [trace][] - Entering isPermitted(FInvoice,,,) method ... 2023-11-03 11:07:10.2396 [trace][] - Exiting isPermitted method ... - SEC_USER_IS_ADMIN 2023-11-03 11:07:10.2396 [trace][] - Entering isPermitted(SQuotes,,,) method ... 2023-11-03 11:07:10.2396 [trace][] - Exiting isPermitted method ... - SEC_USER_IS_ADMIN 2023-11-03 11:07:10.2396 [trace][] - Entering isPermitted(SSingleOrders,,,) method ... 2023-11-03 11:07:10.2396 [trace][] - Exiting isPermitted method ... - SEC_USER_IS_ADMIN 2023-11-03 11:07:10.2396 [trace][] - Entering isPermitted(ProjectTask,,,) method ... 2023-11-03 11:07:10.2396 [trace][] - Exiting isPermitted method ... - SEC_USER_IS_ADMIN 2023-11-03 11:07:10.2396 [trace][] - Entering isPermitted(Contacts,,,) method ... 2023-11-03 11:07:10.2396 [trace][] - Exiting isPermitted method ... - SEC_USER_IS_ADMIN 2023-11-03 11:07:10.2397 [info][[yii\db\Command::query]] - SELECT relmodule AS module FROM vtiger_fieldmodulerel INNER JOIN vtiger_tab ON vtiger_tab.name = vtiger_fieldmodulerel.relmodule WHERE (fieldid=1762) AND (vtiger_tab.presence <> 1) ORDER BY sequence 2023-11-03 11:07:10.24 [trace][] - Entering isPermitted(Calendar,,,) method ... 2023-11-03 11:07:10.24 [trace][] - Exiting isPermitted method ... - SEC_USER_IS_ADMIN 2023-11-03 11:07:10.2402 [info][[yii\db\Command::query]] - SELECT activitystatusid, activitystatus FROM vtiger_activitystatus ORDER BY sortorderid 2023-11-03 11:07:10.2405 [trace][] - Entering to operatorE in App\Conditions\QueryFields\BaseField 2023-11-03 11:07:10.2405 [trace][] - Start DateTimeField::convertTimeZone(2023-10-30, America/New_York, America/Los_Angeles) 2023-11-03 11:07:10.2405 [trace][] - End DateTimeField::convertTimeZone 2023-11-03 11:07:10.2406 [trace][] - Start DateTimeField::convertTimeZone(2023-12-09, America/New_York, America/Los_Angeles) 2023-11-03 11:07:10.2406 [trace][] - End DateTimeField::convertTimeZone 2023-11-03 11:07:10.2409 [info][[yii\db\Command::query]] - SELECT vtiger_activity.subject AS subject, vtiger_crmentity.smownerid AS assigned_user_id, vtiger_activity.date_start AS date_start, vtiger_activity.time_start AS time_start, vtiger_activity.time_end AS time_end, vtiger_activity.due_date AS due_date, vtiger_crmentity.shownerid AS shownerid, vtiger_activity.status AS activitystatus, vtiger_activity.priority AS taskpriority, vtiger_activity.sendnotification AS sendnotification, vtiger_crmentity.modifiedtime AS modifiedtime, vtiger_crmentity.createdtime AS createdtime, vtiger_crmentity.smcreatorid AS created_user_id, vtiger_activity.activitytype AS activitytype, vtiger_activity.visibility AS visibility, vtiger_activity.duration_hours AS duration_hours, vtiger_crmentity.was_read AS was_read, vtiger_activity.duration_minutes AS duration_minutes, vtiger_activity.location AS location, vtiger_activity.state AS state, vtiger_activity.notime AS notime, vtiger_crmentity.modifiedby AS modifiedby, vtiger_activity.allday AS allday, vtiger_crmentity.private AS private, vtiger_activity.meeting_url AS meeting_url, vtiger_crmentity.description AS description, vtiger_activity_reminder.reminder_time AS reminder_time, vtiger_activity.reapeat AS reapeat, vtiger_activity.recurrence AS recurrence, vtiger_activity.link AS link, vtiger_activity.process AS process, vtiger_activity.subprocess AS subprocess, vtiger_activity.followup AS followup, vtiger_activity.linkextend AS linkextend, vtiger_activity.subprocess_sl AS subprocess_sl, vtiger_activity.activityid AS id FROM vtiger_activity INNER JOIN vtiger_crmentity ON vtiger_activity.activityid = vtiger_crmentity.crmid LEFT JOIN vtiger_activity_reminder ON vtiger_activity.activityid = vtiger_activity_reminder.activity_id WHERE (vtiger_crmentity.deleted=0) AND ((vtiger_activity.status IN ('PLL_PLANNED', 'PLL_IN_REALIZATION', 'PLL_OVERDUE')) AND (((CONCAT(date_start, ' ', time_start) >= '2023-10-29 21:00:00') AND (CONCAT(date_start, ' ', time_start) <= '2023-12-08 21:00:00')) OR ((CONCAT(due_date, ' ', time_end) >= '2023-10-29 21:00:00') AND (CONCAT(due_date, ' ', time_end) <= '2023-12-08 21:00:00')) OR ((date_start < '2023-10-29') AND (due_date > '2023-12-08')))) AND ((vtiger_crmentity.smownerid='1') OR (vtiger_crmentity.crmid IN (SELECT crmid FROM u_yf_crmentity_showners WHERE userid='1'))) ORDER BY vtiger_activity.date_start, vtiger_activity.time_start 2023-11-03 11:07:10.2416 [info][[yii\db\Command::query]] - SELECT FROM vtiger_activitytype ORDER BY sortorderid 2023-11-03 11:07:10.2418 [trace][] - Start DateTimeField::convertToUserTimeZone(2023-11-03 08:30:00) method ... 2023-11-03 11:07:10.2418 [trace][] - Start DateTimeField::convertTimeZone(2023-11-03 08:30:00, America/Los_Angeles, America/New_York) 2023-11-03 11:07:10.2419 [trace][] - End DateTimeField::convertTimeZone 2023-11-03 11:07:10.2419 [trace][] - End DateTimeField::convertToUserTimeZone 2023-11-03 11:07:10.2419 [trace][] - Start DateTimeField::convertToUserFormat s:10:"2023-11-03"; | yyyy-mm-dd 2023-11-03 11:07:10.2419 [trace][] - End DateTimeField::convertToUserFormat 2023-11-03 11:07:10.2419 [trace][] - Entering getDisplayTime(2023-11-03 08:30:00) method ... 2023-11-03 11:07:10.2419 [trace][] - Start DateTimeField::convertToUserTimeZone(2023-11-03 08:30:00) method ... 2023-11-03 11:07:10.2419 [trace][] - Start DateTimeField::convertTimeZone(2023-11-03 08:30:00, America/Los_Angeles, America/New_York) 2023-11-03 11:07:10.2419 [trace][] - End DateTimeField::convertTimeZone 2023-11-03 11:07:10.2419 [trace][] - End DateTimeField::convertToUserTimeZone 2023-11-03 11:07:10.2419 [trace][] - Exiting getDisplayTime method ... 2023-11-03 11:07:10.2419 [trace][] - DateTimeField::getDisplayDateTimeValue 2023-11-03 11:07:10.2419 [trace][] - Start DateTimeField::convertToUserTimeZone(2023-11-03 08:30:00) method ... 2023-11-03 11:07:10.2419 [trace][] - Start DateTimeField::convertTimeZone(2023-11-03 08:30:00, America/Los_Angeles, America/New_York) 2023-11-03 11:07:10.2419 [trace][] - End DateTimeField::convertTimeZone 2023-11-03 11:07:10.2419 [trace][] - End DateTimeField::convertToUserTimeZone 2023-11-03 11:07:10.2419 [trace][] - Start DateTimeField::convertToUserFormat s:10:"2023-11-03"; | yyyy-mm-dd 2023-11-03 11:07:10.2419 [trace][] - End DateTimeField::convertToUserFormat 2023-11-03 11:07:10.2419 [trace][] - Start DateTimeField::convertToUserTimeZone(2023-11-03 08:30:00) method ... 2023-11-03 11:07:10.2419 [trace][] - Start DateTimeField::convertTimeZone(2023-11-03 08:30:00, America/Los_Angeles, America/New_York) 2023-11-03 11:07:10.2419 [trace][] - End DateTimeField::convertTimeZone 2023-11-03 11:07:10.2419 [trace][] - End DateTimeField::convertToUserTimeZone 2023-11-03 11:07:10.2419 [trace][] - Start DateTimeField::convertToUserTimeZone(2023-11-03 08:30:00) method ... 2023-11-03 11:07:10.2419 [trace][] - Start DateTimeField::convertTimeZone(2023-11-03 08:30:00, America/Los_Angeles, America/New_York) 2023-11-03 11:07:10.242 [trace][] - End DateTimeField::convertTimeZone 2023-11-03 11:07:10.242 [trace][] - End DateTimeField::convertToUserTimeZone 2023-11-03 11:07:10.242 [trace][] - Start DateTimeField::convertToUserTimeZone(2023-11-03 09:00:00) method ... 2023-11-03 11:07:10.242 [trace][] - Start DateTimeField::convertTimeZone(2023-11-03 09:00:00, America/Los_Angeles, America/New_York) 2023-11-03 11:07:10.242 [trace][] - End DateTimeField::convertTimeZone 2023-11-03 11:07:10.242 [trace][] - End DateTimeField::convertToUserTimeZone 2023-11-03 11:07:10.242 [trace][] - Start DateTimeField::convertToUserFormat s:10:"2023-11-03"; | yyyy-mm-dd 2023-11-03 11:07:10.242 [trace][] - End DateTimeField::convertToUserFormat 2023-11-03 11:07:10.242 [trace][] - Entering getDisplayTime(2023-11-03 09:00:00) method ... 2023-11-03 11:07:10.242 [trace][] - Start DateTimeField::convertToUserTimeZone(2023-11-03 09:00:00) method ... 2023-11-03 11:07:10.242 [trace][] - Start DateTimeField::convertTimeZone(2023-11-03 09:00:00, America/Los_Angeles, America/New_York) 2023-11-03 11:07:10.242 [trace][] - End DateTimeField::convertTimeZone 2023-11-03 11:07:10.242 [trace][] - End DateTimeField::convertToUserTimeZone 2023-11-03 11:07:10.242 [trace][] - Exiting getDisplayTime method ... 2023-11-03 11:07:10.242 [trace][] - DateTimeField::getDisplayDateTimeValue 2023-11-03 11:07:10.242 [trace][] - Start DateTimeField::convertToUserTimeZone(2023-11-03 09:00:00) method ... 2023-11-03 11:07:10.242 [trace][] - Start DateTimeField::convertTimeZone(2023-11-03 09:00:00, America/Los_Angeles, America/New_York) 2023-11-03 11:07:10.242 [trace][] - End DateTimeField::convertTimeZone 2023-11-03 11:07:10.242 [trace][] - End DateTimeField::convertToUserTimeZone 2023-11-03 11:07:10.242 [trace][] - Start DateTimeField::convertToUserFormat s:10:"2023-11-03"; | yyyy-mm-dd 2023-11-03 11:07:10.242 [trace][] - End DateTimeField::convertToUserFormat 2023-11-03 11:07:10.242 [trace][] - Start DateTimeField::convertToUserTimeZone(2023-11-03 09:00:00) method ... 2023-11-03 11:07:10.242 [trace][] - Start DateTimeField::convertTimeZone(2023-11-03 09:00:00, America/Los_Angeles, America/New_York) 2023-11-03 11:07:10.2421 [trace][] - End DateTimeField::convertTimeZone 2023-11-03 11:07:10.2421 [trace][] - End DateTimeField::convertToUserTimeZone 2023-11-03 11:07:10.2421 [trace][] - Start DateTimeField::convertToUserTimeZone(2023-11-03 11:05:00) method ... 2023-11-03 11:07:10.2421 [trace][] - Start DateTimeField::convertTimeZone(2023-11-03 11:05:00, America/Los_Angeles, America/New_York) 2023-11-03 11:07:10.2421 [trace][] - End DateTimeField::convertTimeZone 2023-11-03 11:07:10.2421 [trace][] - End DateTimeField::convertToUserTimeZone 2023-11-03 11:07:10.2421 [trace][] - Start DateTimeField::convertToUserFormat s:10:"2023-11-03"; | yyyy-mm-dd 2023-11-03 11:07:10.2421 [trace][] - End DateTimeField::convertToUserFormat 2023-11-03 11:07:10.2421 [trace][] - Entering getDisplayTime(2023-11-03 11:05:00) method ... 2023-11-03 11:07:10.2421 [trace][] - Start DateTimeField::convertToUserTimeZone(2023-11-03 11:05:00) method ... 2023-11-03 11:07:10.2421 [trace][] - Start DateTimeField::convertTimeZone(2023-11-03 11:05:00, America/Los_Angeles, America/New_York) 2023-11-03 11:07:10.2421 [trace][] - End DateTimeField::convertTimeZone 2023-11-03 11:07:10.2421 [trace][] - End DateTimeField::convertToUserTimeZone 2023-11-03 11:07:10.2421 [trace][] - Exiting getDisplayTime method ... 2023-11-03 11:07:10.2421 [trace][] - DateTimeField::getDisplayDateTimeValue 2023-11-03 11:07:10.2421 [trace][] - Start DateTimeField::convertToUserTimeZone(2023-11-03 11:05:00) method ... 2023-11-03 11:07:10.2421 [trace][] - Start DateTimeField::convertTimeZone(2023-11-03 11:05:00, America/Los_Angeles, America/New_York) 2023-11-03 11:07:10.2421 [trace][] - End DateTimeField::convertTimeZone 2023-11-03 11:07:10.2421 [trace][] - End DateTimeField::convertToUserTimeZone 2023-11-03 11:07:10.2421 [trace][] - Start DateTimeField::convertToUserFormat s:10:"2023-11-03"; | yyyy-mm-dd 2023-11-03 11:07:10.2421 [trace][] - End DateTimeField::convertToUserFormat 2023-11-03 11:07:10.2421 [trace][] - Start DateTimeField::convertToUserTimeZone(2023-11-03 11:05:00) method ... 2023-11-03 11:07:10.2421 [trace][] - Start DateTimeField::convertTimeZone(2023-11-03 11:05:00, America/Los_Angeles, America/New_York) 2023-11-03 11:07:10.2422 [trace][] - End DateTimeField::convertTimeZone 2023-11-03 11:07:10.2422 [trace][] - End DateTimeField::convertToUserTimeZone 2023-11-03 11:07:10.2422 [trace][] - Start DateTimeField::convertToUserTimeZone(2023-11-03 11:05:00) method ... 2023-11-03 11:07:10.2422 [trace][] - Start DateTimeField::convertTimeZone(2023-11-03 11:05:00, America/Los_Angeles, America/New_York) 2023-11-03 11:07:10.2422 [trace][] - End DateTimeField::convertTimeZone 2023-11-03 11:07:10.2422 [trace][] - End DateTimeField::convertToUserTimeZone 2023-11-03 11:07:10.2422 [trace][] - Start DateTimeField::convertToUserTimeZone(2023-11-03 12:05:00) method ... 2023-11-03 11:07:10.2422 [trace][] - Start DateTimeField::convertTimeZone(2023-11-03 12:05:00, America/Los_Angeles, America/New_York) 2023-11-03 11:07:10.2422 [trace][] - End DateTimeField::convertTimeZone 2023-11-03 11:07:10.2422 [trace][] - End DateTimeField::convertToUserTimeZone 2023-11-03 11:07:10.2422 [trace][] - Start DateTimeField::convertToUserFormat s:10:"2023-11-03"; | yyyy-mm-dd 2023-11-03 11:07:10.2422 [trace][] - End DateTimeField::convertToUserFormat 2023-11-03 11:07:10.2422 [trace][] - Entering getDisplayTime(2023-11-03 12:05:00) method ... 2023-11-03 11:07:10.2422 [trace][] - Start DateTimeField::convertToUserTimeZone(2023-11-03 12:05:00) method ... 2023-11-03 11:07:10.2422 [trace][] - Start DateTimeField::convertTimeZone(2023-11-03 12:05:00, America/Los_Angeles, America/New_York) 2023-11-03 11:07:10.2422 [trace][] - End DateTimeField::convertTimeZone 2023-11-03 11:07:10.2422 [trace][] - End DateTimeField::convertToUserTimeZone 2023-11-03 11:07:10.2422 [trace][] - Exiting getDisplayTime method ... 2023-11-03 11:07:10.2422 [trace][] - DateTimeField::getDisplayDateTimeValue 2023-11-03 11:07:10.2422 [trace][] - Start DateTimeField::convertToUserTimeZone(2023-11-03 12:05:00) method ... 2023-11-03 11:07:10.2422 [trace][] - Start DateTimeField::convertTimeZone(2023-11-03 12:05:00, America/Los_Angeles, America/New_York) 2023-11-03 11:07:10.2423 [trace][] - End DateTimeField::convertTimeZone 2023-11-03 11:07:10.2423 [trace][] - End DateTimeField::convertToUserTimeZone 2023-11-03 11:07:10.2423 [trace][] - Start DateTimeField::convertToUserFormat s:10:"2023-11-03"; | yyyy-mm-dd 2023-11-03 11:07:10.2423 [trace][] - End DateTimeField::convertToUserFormat 2023-11-03 11:07:10.2423 [trace][] - Start DateTimeField::convertToUserTimeZone(2023-11-03 12:05:00) method ... 2023-11-03 11:07:10.2423 [trace][] - Start DateTimeField::convertTimeZone(2023-11-03 12:05:00, America/Los_Angeles, America/New_York) 2023-11-03 11:07:10.2423 [trace][] - End DateTimeField::convertTimeZone 2023-11-03 11:07:10.2423 [trace][] - End DateTimeField::convertToUserTimeZone 2023-11-03 11:07:10.2424 [trace][] - Start DateTimeField::convertTimeZone(2023-10-30, America/New_York, America/Los_Angeles) 2023-11-03 11:07:10.2424 [trace][] - End DateTimeField::convertTimeZone 2023-11-03 11:07:10.2424 [trace][] - Start DateTimeField::convertTimeZone(2023-12-09, America/New_York, America/Los_Angeles) 2023-11-03 11:07:10.2424 [trace][] - End DateTimeField::convertTimeZone 2023-11-03 11:07:10.2425 [info][[yii\db\Command::query]] - SELECT * FROM vtiger_publicholiday WHERE holidaydate BETWEEN '2023-10-29' AND '2023-12-08' ORDER BY holidaydate 2023-11-03 11:07:10.1557 [info][[application]] - 1699034829','module'=>'Calendar','action'=>'Calendar','mode'=>'getEvents','start'=>'2023-10-30','end'=>'2023-12-09','user'=>['selectedIds'=>['1']],'emptyFilters'=>'false','time'=>'current','history'=>'true','historyUrl'=>'index.php?module=Calendar&view=Calendar&history=true&viewType=dayGridMonth&start=2023-10-30&end=2023-12-09&user={"selectedIds":["1"],"excludedIds":[]}&time=current&cvid=undefined&hiddenDays=0,6']

🌍 Your Environment

Environment Version / Name
YetiForce 6.4
Web server (name and version) Apache
PHP 7.4
Browser (name and version) Firefox, Safari, Chrome
Operating System (name and version) Linux, iOS, Windows
Database (name and version) MariaDB
Service Pack version N/A

❓ Additional context

Add any other context about the problem here.

❗️ Inform the community if you solve the problem

ghost commented 1 year ago

This issue seems to occur when installing the crm on a UTC computer and then using the system with an America timezone.

I was able to manually fix this issue by installing a fresh copy and using a computer with an America timezone, then copying the public_html folder into the old system. The copied folder was from 6.5.