Month missing when exporting instructions #2960

Closed
opened 2026-02-05 05:51:32 +03:00 by OVERLORD · 7 comments
Owner

Originally created by @Statium on GitHub (Aug 15, 2022).

Describe the Bug

When exporting a statement, the month was not specified in the creation date
image

Steps to Reproduce

  1. Export PDF

Expected Behaviour

Screenshots or Additional Context

No response

Browser Details

No response

Exact BookStack Version

v22.07.02

PHP Version

8.3

Hosting Environment

WinServer

Originally created by @Statium on GitHub (Aug 15, 2022). ### Describe the Bug When exporting a statement, the month was not specified in the creation date ![image](https://user-images.githubusercontent.com/4026090/184575072-83d968db-e42e-4167-8485-2b74383df797.png) ### Steps to Reproduce 1. Export PDF ### Expected Behaviour - ### Screenshots or Additional Context _No response_ ### Browser Details _No response_ ### Exact BookStack Version v22.07.02 ### PHP Version 8.3 ### Hosting Environment WinServer
OVERLORD added the 🐛 Bug label 2026-02-05 05:51:32 +03:00
Author
Owner

@Statium commented on GitHub (Aug 15, 2022):

The problem is in the encoding (at least when choosing the Russian language by default). When exporting html, the month is replaced by question marks.

@Statium commented on GitHub (Aug 15, 2022): The problem is in the encoding (at least when choosing the Russian language by default). When exporting html, the month is replaced by question marks.
Author
Owner

@ssddanbrown commented on GitHub (Aug 15, 2022):

Very much related to #3590, Possibly due to missing locale data. I'm not sure how locales work in Windows environments.

@Statium Can you provide any additional detail regarding your environment, and actual PHP version? Since PHP8.3 is not a thing that exists right now.

@ssddanbrown commented on GitHub (Aug 15, 2022): Very much related to #3590, Possibly due to missing locale data. I'm not sure how locales work in Windows environments. @Statium Can you provide any additional detail regarding your environment, and actual PHP version? Since PHP8.3 is not a thing that exists right now.
Author
Owner

@Statium commented on GitHub (Aug 15, 2022):

PHP 8.1.5
Windows Server 2019

@Statium commented on GitHub (Aug 15, 2022): PHP 8.1.5 Windows Server 2019
Author
Owner

@Statium commented on GitHub (Sep 9, 2022):

@ssddanbrown In Russian, the problem is not solved.
I am attaching a screenshot.
image

@Statium commented on GitHub (Sep 9, 2022): @ssddanbrown In Russian, the problem is not solved. I am attaching a screenshot. ![image](https://user-images.githubusercontent.com/4026090/189293895-b3c1860c-77ef-410c-9d10-ff1472cf10a9.png)
Author
Owner

@Statium commented on GitHub (Sep 18, 2022):

image
I corrected line 52 in the LanguageManager.php file and it solved the problem (added UTF-8)
image

@Statium commented on GitHub (Sep 18, 2022): ![image](https://user-images.githubusercontent.com/4026090/190900355-1e693864-88b4-42af-b262-0760ae0783e8.png) I corrected line 52 in the LanguageManager.php file and it solved the problem (added UTF-8) ![image](https://user-images.githubusercontent.com/4026090/190900458-1010ea1b-fa20-4c74-b1c4-ee4a5570b85e.png)
Author
Owner

@ssddanbrown commented on GitHub (Sep 20, 2022):

Thanks for confirming what works @Statium.
I've made changes in 050d69ea27 to include the specific format you displayed in your last message. These will be part of v22.09.1.

@ssddanbrown commented on GitHub (Sep 20, 2022): Thanks for confirming what works @Statium. I've made changes in 050d69ea276da40ec23c32d8f0da6f7d958b1427 to include the specific format you displayed in your last message. These will be part of v22.09.1.
Author
Owner

@Statium commented on GitHub (Oct 31, 2022):

@ssddanbrown The problem recurred in 22.10.1

@Statium commented on GitHub (Oct 31, 2022): @ssddanbrown The problem recurred in 22.10.1
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2960