[freetds] locales.conf
Lowden, James K
LowdenJK at bernstein.com
Thu Feb 12 12:26:39 EST 2004
> From: Andrew J. Hutson [mailto:andrewh at advfn.com]
> Sent: February 12, 2004 10:19 AM
>
> Have just upgraded PHP to 4.3.3, and consequently had to
> change from freetds0 0.53-7 to libct1 0.61-5. The upgrade has
> worked fine, apart from the fact that the date format
> returned from Sybase queries has changed. It used be in the
> following format (example):
>
> May 14 2002 8:58AM
>
> but is now in this format:
>
> Tue May 14 08:58:00 2002
>
> I have tried putting the following in /etc/freetds/locales.conf:
>
> [default]
> date format = %b %d %Y %I:%M%p
>
> [en_US]
> date format = %b %d %Y %I:%M%p
> language = us_english
> char set = iso_1
>
> But nothing changes. It does appear to be paying any
> attention to the locales.conf file.
The default prefix changed after 0.53. Unless you altered configure's default, you installed into /usr/local, and you need to edit /usr/local/etc/locales.conf. You can double check which file is being consulted with TDSDUMPCONFIG.
We never issued a "0.61-5" release; we had a 0.61.x and a month ago issued 0.62.1.
HTH.
--jkl
-----------------------------------------
The information contained in this transmission may contain privileged and confidential information and is intended only for the use of the person(s) named above. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender immediately by reply e-mail and destroy all copies of the original message. Please note that we do not accept account orders and/or instructions by e-mail, and therefore will not be responsible for carrying out such orders and/or instructions.
If you, as an intended recipient of this commercial e-mail or advertisement, would not like to receive further e-mail correspondence from the sender, please "reply" to the sender indicating your wishes.
In the U.S.: 1345 Avenue of the Americas, New York, NY 10105
More information about the FreeTDS
mailing list