FM format modifier does not remove leading zero from year - Mailing list pgsql-general

From Andrus
Subject FM format modifier does not remove leading zero from year
Date
Msg-id B02976BE37F9467D9906E705A8D700AC@andrusnotebook
Whole thread Raw
Responses Re: FM format modifier does not remove leading zero from year
List pgsql-general
Command:

select to_char(DATE'2009-1-1','FMDD.FMMM.FMYY')

Result observed:

1.1.09

Result expected:

1.1.9

How to fix ?

Andrus.

pgsql-general by date:

Previous
From: "Andrus"
Date:
Subject: SELECT does not find table created by itself
Next
From: "Andrus"
Date:
Subject: Using autogenerated primary key in transaction