diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-12-06 19:12:48 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-12-06 19:12:48 +0000 |
commit | b36b485608b9fc389cd0aeedbd0edc1b92c0c063 (patch) | |
tree | dddb2b028bfbf0858a5229a2a23858ac6c54c105 | |
parent | c8fa1ee1c3473f4b9c26a8a38a7ce226ca962e28 (diff) |
Fixing bug 1606269
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@736 4979c152-3d1c-0410-bac9-87ea11338e46
-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 f9674d23..737affad 100644 --- a/LedgerSMB/Locale.pm +++ b/LedgerSMB/Locale.pm @@ -68,6 +68,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/) { |