Introduction
SET lc_time_names doesn't work in SQLPage but works directly on MariaDB.
To Reproduce
In DB Editor (DBeaver) :
SELECT @@lc_time_names;
-- en_US
SELECT MONTHNAME(CURRENT_DATE);
-- June
SET lc_time_names = 'fr_FR';
SELECT @@lc_time_names;
-- fr_FR
SELECT MONTHNAME(CURRENT_DATE);
-- Juin
Actual behavior
In SQLPage
SET lc_time_names = 'fr_FR';
set $monthn0 = MONTHNAME(CURRENT_DATE);
select 'text' as component,
$monthn0 as contents_md;
-- June
Version information
- OS: Ubuntu 24.04 LTS
- mariadb Ver 15.1 Distrib 10.11.14-MariaDB, for debian-linux-gnu (x86_64)
- SQLPage 0.44
Introduction
SET lc_time_names doesn't work in SQLPage but works directly on MariaDB.
To Reproduce
In DB Editor (DBeaver) :
Actual behavior
In SQLPage
Version information