[PATCH] Setting the default date time format in locales.conf

David Dick <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
According to the Transact-SQL User's Guide, the default display format 
for dates is “Apr 15 1987 10:23PM” [1].  Therefore, this patch will set 
this datetime format for all locales.  Is this ok?

1. 
http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.help.ase_15.0.blocks/html/blocks/blocks36.htm

_______________________________________________
FreeTDS mailing list
[email protected]
http://lists.ibiblio.org/mailman/listinfo/freetds
freetds_locales.patch (text/plain, 856 B)
Index: locales.conf
===================================================================
RCS file: /cvsroot/freetds/freetds/locales.conf,v
retrieving revision 1.7
diff -u -r1.7 locales.conf
--- locales.conf	9 Jun 2006 15:52:41 -0000	1.7
+++ locales.conf	18 Apr 2010 21:51:04 -0000
@@ -1,23 +1,23 @@
 [default]
-	date format = %b %e %Y %I:%M:%S:%z%p
+	date format = %b %e %Y %I:%M%p
 
 [en_US]
-	date format = %b %e %Y %I:%M:%S:%z%p
+	date format = %b %e %Y %I:%M%p
 	language = us_english
 	charset = iso_1
 
 [es_ES]
-	date format = %b %d %Y %I:%M%p
+	date format = %b %e %Y %I:%M%p
 	language = spanish
 	charset = iso_1
 
 [pt_BR]
-	date format = %d/%m/%Y %H:%M
+	date format = %b %e %Y %I:%M%p
 	language = Portuguese
 	charset = iso_1
 
 [it_IT]
-	date format = %d/%m/%Y %H:%M
+	date format = %b %e %Y %I:%M%p
 	language = Italiano
 	charset = iso_1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.