Bug #79198 [Opn->Fbk]: Incorrect abbrv. MONTH

From: Date: Thu, 30 Jan 2020 18:22:11 +0000
Subject: Bug #79198 [Opn->Fbk]: Incorrect abbrv. MONTH
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-225255@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79198&edit=1 ID: 79198 Updated by: requinix@php.net Reported by: fullershane9376 at gmail dot com dot com Summary: Incorrect abbrv. MONTH -Status: Open +Status: Feedback Type: Bug Package: Date/time related Operating System: Windows 10 PHP Version: 7.2.27 Block user comment: N Private report: N New Comment: Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. Previous Comments: ------------------------------------------------------------------------ [2020-01-30 18:20:25] fullershane9376 at gmail dot com dot com Description: ------------ Incorrect output from specific input Test script: --------------- strtoupper(date("M", mktime(0, 0, 0, 2, $cur_date, $four_digit_year))); Expected result: ---------------- expected result FEB Actual result: -------------- actual result MAR ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79198&edit=1

« previous php.bugs (#225255) next »