PHP 8.1: strftime and gmstrftime functions are deprecated #5139

Open
opened 2026-02-20 16:30:17 -05:00 by deekerman · 1 comment
Owner

Originally created by @lukio on GitHub (Jan 2, 2024).

The function strftime is deprecated since php8.1

github.com/salesagility/SuiteCRM@54bc56c3bd/include/SugarLogger/SugarLogger.php (L239)

more information: https://php.watch/versions/8.1/strftime-gmstrftime-deprecated

Originally created by @lukio on GitHub (Jan 2, 2024). The function strftime is deprecated since php8.1 https://github.com/salesagility/SuiteCRM/blob/54bc56c3bd9f1db75408db1c1d7d652c3f5f71e9/include/SugarLogger/SugarLogger.php#L239 more information: https://php.watch/versions/8.1/strftime-gmstrftime-deprecated
Author
Owner
@chris001 commented on GitHub (Jan 2, 2024): Same deprecated with `strptime`: https://php.watch/versions/8.1/strptime-deprecation https://github.com/salesagility/SuiteCRM/blob/54bc56c3bd9f1db75408db1c1d7d652c3f5f71e9/include/SugarDateTime.php#L578
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SuiteCRM-SuiteCRM#5139
No description provided.