mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-11-03 20:55:05 +00:00 
			
		
		
		
	Fix for issue #123
This commit is contained in:
		@@ -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