mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-10-13 17:02:06 -05:00
Fix for issue #123
This commit is contained in:
1 parent
d1329be2fa
commit
791d12fbb4
2 files changed
+2
-1
No files matched your search
@@ -64,6 +64,7 @@ class Authenticate
|
||||
Carbon::setLocale($pref->data);
|
||||
|
||||
setlocale(LC_TIME, Config::get('firefly.locales.' . $pref->data));
|
||||
setlocale(LC_MONETARY, Config::get('firefly.locales.' . $pref->data));
|
||||
|
||||
return $next($request);
|
||||
}
|
||||
|
||||
@@ -60,7 +60,7 @@ class Amount
|
||||
{
|
||||
$amount = floatval($amount);
|
||||
$amount = round($amount, 2);
|
||||
$string = number_format($amount, 2, ',', '.');
|
||||
$string = money_format('%!.2n', $amount);
|
||||
|
||||
if ($coloured === true) {
|
||||
if ($amount === 0.0) {
|
||||
|
||||
Reference in new issue
Block a user