[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[6400] trunk/LedgerSMB/PGDate.pm
- Subject: SF.net SVN: ledger-smb:[6400] trunk/LedgerSMB/PGDate.pm
- From: ..hidden..
- Date: Mon, 6 Jan 2014 07:36:36 +0000
Revision: 6400
http://sourceforge.net/p/ledger-smb/code/6400
Author: einhverfr
Date: 2014-01-06 07:36:36 +0000 (Mon, 06 Jan 2014)
Log Message:
-----------
Fixing ->to_output giving the format instead of the results
Modified Paths:
--------------
trunk/LedgerSMB/PGDate.pm
Modified: trunk/LedgerSMB/PGDate.pm
===================================================================
--- trunk/LedgerSMB/PGDate.pm 2014-01-06 07:16:07 UTC (rev 6399)
+++ trunk/LedgerSMB/PGDate.pm 2014-01-06 07:36:36 UTC (rev 6400)
@@ -181,6 +181,8 @@
} else {
$fmt = '%F';
}
+ $fmt = $formats->{uc($fmt)}->[0] if defined $formats->{uc($fmt)};
+ $fmt .= ' %T' if ($self->date->hour);
my $formatter = new DateTime::Format::Strptime(
pattern => $fmt,
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