Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:modifications:german-dateformat [2014/01/02 18:42]
swarnat Page moved from en:start:modifications:german-dateformat to en:modifications:german-dateformat
en:modifications:german-dateformat [2016/11/21 14:49] (current)
swarnat
Line 1: Line 1:
 ====== deutsches Datumsformat ====== ====== deutsches Datumsformat ======
  
 +===== vtigerCRM 6.0 =====
  
-===== vtigerCRM ​6.0 RC =====+**06.03.2014 UPDATE ** - Small missing line modification in last block 
 +**19.02.2016 UPDATE ** - Tested until VtigerCRM ​6.4.0 
 +**21.11.2016 UPDATE ** - Tested until VtigerCRM 6.4.0 
 + 
 +**After you have done this modifications,​ you need to clear your Browser cache!**
  
 ==== 1. neuer Eintrag in die '​vtiger_date_format'​ Tabelle mit folgender Query: ==== ==== 1. neuer Eintrag in die '​vtiger_date_format'​ Tabelle mit folgender Query: ====
Line 125: Line 130:
 ==== 5. /​modules/​Calendar/​RepeatEvents.php ==== ==== 5. /​modules/​Calendar/​RepeatEvents.php ====
  
-=== Function:​formattime ===+=== Function: formattime ===
  
 Diesmal passend in die switch-Anweisung folgendes einfügen: Diesmal passend in die switch-Anweisung folgendes einfügen:
Line 132: Line 137:
 </​code>​ </​code>​
  
-==== 6. /​modules/​Vtiger/​helpers/​Utils.php ====+==== 6. /​modules/​Vtiger/​helpers/​Util.php ====
  
 Diese Anpassung ist nur dann notwendig, wenn Ihr auch die Ausgaben der Form "Wed, Dec 18, 2013 at 15:50" anpassen möchtet, sodass am Ende "Wed, 18. Dec 2013 at 15:50 Uhr" erscheint. Diese Anpassung ist nur dann notwendig, wenn Ihr auch die Ausgaben der Form "Wed, Dec 18, 2013 at 15:50" anpassen möchtet, sodass am Ende "Wed, 18. Dec 2013 at 15:50 Uhr" erscheint.
Line 193: Line 198:
 </​code>  ​ </​code>  ​
  
-==== 8. /​layouts/​vlayout/​modules/​Vtiger/​resources/​dashboards/​Widgets.js ====+==== 8. /​layouts/​vlayout/​modules/​Vtiger/​resources/​dashboards/​Widget.js ====
  
 === Funktion convertToDateRangePicketFormat === === Funktion convertToDateRangePicketFormat ===
Line 211: Line 216:
 <code js> <code js>
 var splittedDate = dateComponent.split("​-"​);​ var splittedDate = dateComponent.split("​-"​);​
 +var splittedDateFormat = dateFormat.split("​-"​);​
 </​code>​ </​code>​
 Replace with: Replace with:
Line 219: Line 225:
 } }
 var splittedDate = dateComponent.split(dotMode?"​.":"​-"​);​ var splittedDate = dateComponent.split(dotMode?"​.":"​-"​);​
 +var splittedDateFormat = dateFormat.split(dotMode?"​.":"​-"​);​
 </​code>​ </​code>​