Wednesday, December 03, 2008 ..:: Forums ::.. Register  Login
 Forums Minimize
SearchForum Home
     
  Mainstream Forums  Developers  changing date_f...
 changing date_format items
 
jdenotter
2 posts
Joined
1/2/2007

changing date_format items
Posted: 02 Jan 07 9:25 PM

Hi, SplendidCRM works great! We're considering using it for a Engineering consultancy/products company in Australia.

I'm trying to change to the date format to dd/mm/yy but can't figure out where to change it.  I've tried looking in dropdown editor, and even tried to find out which control it is through the field layout.   (which has only taught me how configurable it is!)  Can any give me a hint as to where I can add in a new date_format.  I can manually change the preferences for users through the database but would prefer to add in a new item.

It's hiding somewhere just can't find it!

Cheers

jdenotter
2 posts
Joined
1/2/2007

Re: changing date_format items
Posted: 02 Jan 07 9:37 PM Modified By jdenotter  on 1/2/2007 9:40:40 PM)

I didn't look hard enough!.. Looks like SRamBaud has found the solution.. install the right language pack and you'll be able to set the date to the right format.

http://www.splendidcrm.com/Forums/tabid/66/forumid/3/threadid/677/threadpage/1/scope/posts/Default.aspx

Importing it now through Admin, Import Language.

Cheers

support
2153 posts
1st
Joined
1/3/2006

Re: changing date_format items
Posted: 02 Jan 07 10:06 PM

I'm glad to hear that you found the solution.  Still, I'm going to comment on some of the hows and whys of internationalizaton.

SplendidCRM uses the .NET-provided methods of internationalization where ever possible.  Each user is allowed to change the format of the date, time and currency.  The options available are provided by .NET according to the language the user has specified.  To be specific, the date/time patterns that we display come from the DateTimeFormatInfo.GetAllDateTimePatterns() function in .NET. 

On every Page_Load(), one of the first things we do is set the language of the page to the user-specified language.  We then proceed to set the DateTimeFormat and the NumberFormat.  You can find this code in the SplendidPage class.

.NET does not have an acceptable method for handling time zones, so we have implemented our own technique.  The same is true for localizing terminology.

 

  Mainstream Forums  Developers  changing date_f...

Forum Home  Search       

Copyright (c) 2006-2008 SplendidCRM Software, Inc. All Rights Reserved.   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2008 by Perpetual Motion Interactive Systems Inc.