Welcome Guest, Not a member yet? Register   Sign In
Add a global function to return the default locale
#1
Smile 

I would really love it a miscellaneous global function to fetch the default locale could be added on the framework.
This will avoid writing such code statements:
Code:
$appConfig = new \Config\App();
$dateToday = Time::today(app_timezone(), $appConfig->defaultLocale);
Reply


Messages In This Thread
Add a global function to return the default locale - by Elvis254 - 02-23-2024, 06:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB