• Bruce Momjian's avatar
    Add two new format fields for use with to_char(), to_date() and · 4ebb0cf9
    Bruce Momjian authored
    to_timestamp():
        - ID for day-of-week
        - IDDD for day-of-year
    
    This makes it possible to convert ISO week dates to and from text
    fully represented in either week ('IYYY-IW-ID') or day-of-year
    ('IYYY-IDDD') format.
    
    I have also added an 'isoyear' field for use with extract / date_part.
    
    Brendan Jurd
    4ebb0cf9
datetime.h 8.44 KB