Applies To: |
|
Summary: |
I have been using the German localisation of Citect with the XP
Style templates. |
Solution: |
The cause of this is due to the
CSV_Trend_GetDate() function in the CSV_Include project. This
function is used to display the start and end date of a trend, and
is used on the single trend page. It is likely that the
English date format was used when the function was
written and other localised date formats were not taken into
account. To temporarily resolve the issue for the German localisation of Citect make the following changes to the function CSV_Trend_GetTime(): File: csv_trend.ci Function: CSV_Trend_GetDate() Line: 2226 (approximate) Replace this line: sDate = StrMid(TimeToStr(iTime, 4), 4, 11); with the following line: sDate = StrMid(TimeToStr(iTime, 4), 3, 11); Note: The same cicode change made on an English localisation of Citect will truncate the last digit of the year. Alternatively change the cicode so that it constructs the string out of individual date component rather than trying to extract them from a formatted string. Please check to see that the changes will correct the displayed date. This has now been resolved in v7.10 Service Pack 3 |
Keywords: |
CSV_Trend_GetDate, cicode, date, trend, CSV_Include, localisation, region |
Related Links
Attachments