public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] MySQL date look funny: "2014-0"
@ 2014-09-21  5:33 Joseph
  2014-09-21  6:11 ` J. Roeleveld
  0 siblings, 1 reply; 4+ messages in thread
From: Joseph @ 2014-09-21  5:33 UTC (permalink / raw
  To: gentoo-user

After recent upgrade my Orders in OsCommerce program date look funny: "2014-0"

I downgraded mysql to 5.1.70 but this is caused by it.

I've two PHP installed: 5.3 and 5.5 
I tried switching to 5.3 it still the same date display  "2014-0"

-- 
Joseph


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] MySQL date look funny: "2014-0"
  2014-09-21  5:33 [gentoo-user] MySQL date look funny: "2014-0" Joseph
@ 2014-09-21  6:11 ` J. Roeleveld
  2014-09-21  8:40   ` Mick
  0 siblings, 1 reply; 4+ messages in thread
From: J. Roeleveld @ 2014-09-21  6:11 UTC (permalink / raw
  To: gentoo-user

On 21 September 2014 07:33:43 CEST, Joseph <syscon780@gmail.com> wrote:
>After recent upgrade my Orders in OsCommerce program date look funny:
>"2014-0"
>
>I downgraded mysql to 5.1.70 but this is caused by it.
>
>I've two PHP installed: 5.3 and 5.5 
>I tried switching to 5.3 it still the same date display  "2014-0"

What do you see when querying using native tools?
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] MySQL date look funny: "2014-0"
  2014-09-21  6:11 ` J. Roeleveld
@ 2014-09-21  8:40   ` Mick
  2014-09-21 14:50     ` Joseph
  0 siblings, 1 reply; 4+ messages in thread
From: Mick @ 2014-09-21  8:40 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 612 bytes --]

On Sunday 21 Sep 2014 07:11:15 J. Roeleveld wrote:
> On 21 September 2014 07:33:43 CEST, Joseph <syscon780@gmail.com> wrote:
> >After recent upgrade my Orders in OsCommerce program date look funny:
> >"2014-0"
> >
> >I downgraded mysql to 5.1.70 but this is caused by it.
> >
> >I've two PHP installed: 5.3 and 5.5
> >I tried switching to 5.3 it still the same date display  "2014-0"
> 
> What do you see when querying using native tools?

Have you made any changes in your locale?  I would think that this is not an 
application specific setting, but picked up from your env.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] MySQL date look funny: "2014-0"
  2014-09-21  8:40   ` Mick
@ 2014-09-21 14:50     ` Joseph
  0 siblings, 0 replies; 4+ messages in thread
From: Joseph @ 2014-09-21 14:50 UTC (permalink / raw
  To: gentoo-user

On 09/21/14 09:40, Mick wrote:
>On Sunday 21 Sep 2014 07:11:15 J. Roeleveld wrote:
>> On 21 September 2014 07:33:43 CEST, Joseph <syscon780@gmail.com> wrote:
>> >After recent upgrade my Orders in OsCommerce program date look funny:
>> >"2014-0"
>> >
>> >I downgraded mysql to 5.1.70 but this is caused by it.
>> >
>> >I've two PHP installed: 5.3 and 5.5
>> >I tried switching to 5.3 it still the same date display  "2014-0"
>>
>> What do you see when querying using native tools?
>
>Have you made any changes in your locale?  I would think that this is not an
>application specific setting, but picked up from your env.
>-- 
>Regards,
>Mick

I think you are correct, some setting had changed but I don't know which. 
My locale as root:
# locale -a
C
en_US
en_US.iso88591
en_US.utf8
POSIX

user:
$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8

In Mysql database the date look normal:
date_purchased: 2014-09-20 18:46:25



-- 
Joseph


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-09-21 14:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-21  5:33 [gentoo-user] MySQL date look funny: "2014-0" Joseph
2014-09-21  6:11 ` J. Roeleveld
2014-09-21  8:40   ` Mick
2014-09-21 14:50     ` Joseph

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox