php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72723 Dateformat issue with php-mssql and freetds
Submitted: 2016-08-01 07:35 UTC Modified: 2016-08-04 12:39 UTC
From: lauwarm dot eiskalt at gmx dot de Assigned:
Status: Closed Package: MSSQL related
PHP Version: 5.6.24 OS: Fedora 23
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
38 + 27 = ?
Subscribe to this entry?

 
 [2016-08-01 07:35 UTC] lauwarm dot eiskalt at gmx dot de
Description:
------------
Freetds Version 0.95.81

Could not convert database value "2016-08-31 00:00:00" to Doctrine Type date. Expected format: Y-m-d H:i:s.000

Any changes in locales.conf doesn't work. It seems that php-mssql have some issues with the current freetds version.
I downgrade the php-mssql version to 5.6.14. Works!



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-08-02 08:02 UTC] lauwarm dot eiskalt at gmx dot de
locales.conf:
-------------
[default]
  date format = %Y-%m-%d %H:%M:%S.000

[de_DE]
  language = german
  date format = %Y-%m-%d %H:%M:%S.000
 [2016-08-04 12:39 UTC] lauwarm dot eiskalt at gmx dot de
-Status: Open +Status: Closed
 [2016-08-04 12:39 UTC] lauwarm dot eiskalt at gmx dot de
https://bugs.php.net/bug.php?id=54648
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 19:01:31 2024 UTC