[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[6324] trunk/LedgerSMB/PGDate.pm



Revision: 6324
          http://sourceforge.net/p/ledger-smb/code/6324
Author:   ehuelsmann
Date:     2013-12-28 05:39:38 +0000 (Sat, 28 Dec 2013)
Log Message:
-----------
Patch by turtle: Fix goods and services search not working
  due to missing date format. 

Modified Paths:
--------------
    trunk/LedgerSMB/PGDate.pm

Modified: trunk/LedgerSMB/PGDate.pm
===================================================================
--- trunk/LedgerSMB/PGDate.pm	2013-12-28 05:37:38 UTC (rev 6323)
+++ trunk/LedgerSMB/PGDate.pm	2013-12-28 05:39:38 UTC (rev 6324)
@@ -177,7 +177,7 @@
     return undef if !defined $self->date;
     my $fmt;
     if (defined $LedgerSMB::App_State::User->{dateformat}){
-        $fmt = $formats->{uc($LedgerSMB::App_State::User->{dateformat})}->[0];
+        $fmt = $LedgerSMB::App_State::User->{dateformat};
     } else {
         $fmt = '%F';
     }

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits