[freetds] date format being ignored?

Bradley Bell bradleyb at u.washington.edu
Mon Mar 31 16:12:37 EST 2003


All of my php strtotime calls are suddenly failing, and it appears that my
locales.conf is being ignored...

Here's some sqsh output:
1> select GETDATE()
2> \go

 ------------------------
 Mon Mar 31 16:07:48 2003

(1 row affected)
1>

The format above is, oddly, not parseable by strtotime.
And here's the contents of my locales.conf:
[default]
        date format = %Y-%m-%d %H:%M:%S.%z

[en_US]
        date format = %Y-%m-%d %H:%M:%S.%z
        language = us_english
        char set = iso_1

What in the world is wrong here?

-brad



More information about the FreeTDS mailing list