[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[6111] trunk
- Subject: SF.net SVN: ledger-smb:[6111] trunk
- From: ..hidden..
- Date: Sun, 6 Oct 2013 10:52:25 +0000
Revision: 6111
http://sourceforge.net/p/ledger-smb/code/6111
Author: einhverfr
Date: 2013-10-06 10:52:22 +0000 (Sun, 06 Oct 2013)
Log Message:
-----------
Correcting handling of date format (minutes vs months) in date boxes
Modified Paths:
--------------
trunk/LedgerSMB/Form.pm
trunk/UI/lib/DateTextBox.js
Modified: trunk/LedgerSMB/Form.pm
===================================================================
--- trunk/LedgerSMB/Form.pm 2013-10-06 10:38:33 UTC (rev 6110)
+++ trunk/LedgerSMB/Form.pm 2013-10-06 10:52:22 UTC (rev 6111)
@@ -649,7 +649,6 @@
</script>|;
}
my $dformat = $self->{_myconfig}->{dateformat};
- $dformat =~ s/mm/MM/;
print qq|Content-Type: text/html; charset=utf-8\n\n
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
Modified: trunk/UI/lib/DateTextBox.js
===================================================================
--- trunk/UI/lib/DateTextBox.js 2013-10-06 10:38:33 UTC (rev 6110)
+++ trunk/UI/lib/DateTextBox.js 2013-10-06 10:52:22 UTC (rev 6111)
@@ -8,6 +8,7 @@
{
postMixInProperties: function() {
this.constraints.datePattern = lsmbConfig.dateformat;
+ this.constraints.datePattern = this.constraints.datePattern.replace(/mm/, 'MM');
this.inherited(arguments);
}
});
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits