details:   https://code.openbravo.com/erp/devel/pi/rev/9b0c261d48cb
changeset: 18200:9b0c261d48cb
user:      Augusto Mauch <augusto.mauch <at> openbravo.com>
date:      Thu Oct 11 13:11:56 2012 +0200
summary:   Related to issue 21905: Changed start date from 1-1-1950 to 1-1-1951

The start date has been changed from 1-1-1950 to 1-1-1951, so that if the user 
enters 1-1-50, it will be autocompleted to 1-1-2050, and if he enters 1-1-51, 
it will be autocompleted to 1-1-1951.

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-date.js
          |  2 +-
 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-minidaterange.js
 |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r d54c2b9fe7f1 -r 9b0c261d48cb 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-date.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-date.js
        Thu Oct 11 11:35:17 2012 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-date.js
        Thu Oct 11 13:11:56 2012 +0200
@@ -228,7 +228,7 @@
 isc.OBDateItem.addProperties(OB.DateItemProperties, {
   validateOnExit: true,
 
-  startDate: Date.createLogicalDate(1950, 0, 1),
+  startDate: Date.createLogicalDate(1951, 0, 1),
   endDate: Date.createLogicalDate(2050, 11, 31),
 
   init: function () {
diff -r d54c2b9fe7f1 -r 9b0c261d48cb 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-minidaterange.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-minidaterange.js
       Thu Oct 11 11:35:17 2012 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-minidaterange.js
       Thu Oct 11 13:11:56 2012 +0200
@@ -42,7 +42,7 @@
   quartersFromNowTitle: OB.I18N.getLabel('OBUIAPP_quarters_from_now'),
   yearsFromNowTitle: OB.I18N.getLabel('OBUIAPP_years_from_now'),
 
-  startDate: Date.createLogicalDate(1950, 0, 1),
+  startDate: Date.createLogicalDate(1951, 0, 1),
   endDate: Date.createLogicalDate(2050, 11, 31),
 
   presetOptions: {

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to