diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-12-06 19:13:37 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-12-06 19:13:37 +0000 |
commit | d36dfea54ce0a8c42936821815fea1e63bc77e6f (patch) | |
tree | 05c0059ea9be26b335439a7c4134fb0263ecb048 /LedgerSMB | |
parent | 1c475d23a4065359e1e38515031c4ebd8e96a86e (diff) |
Fixing bug 1606269
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@737 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rw-r--r-- | LedgerSMB/Locale.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/LedgerSMB/Locale.pm b/LedgerSMB/Locale.pm index 9f4d2fdb..c6192510 100644 --- a/LedgerSMB/Locale.pm +++ b/LedgerSMB/Locale.pm @@ -67,6 +67,10 @@ sub date { $spc =~ s/\w//g; $spc = substr($spc, 0, 1); + if (!$longformat && $date =~ /^\d{4}\D/){ # reparsing date at this point + # causes problems! + return $date; + } if ($date =~ /\D/) { if ($myconfig->{dateformat} =~ /^yy/) { |