summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/formatting.c
AgeCommit message (Expand)Author
2007-06-29Fix a passel of ancient bugs in to_char(), including two distinct bufferTom Lane
2007-02-08Fix bug when localized to_char() day or month names were incorectlyBruce Momjian
2007-01-12Fix handling of CC (century) format spec in to_date/to_char. According toTom Lane
2006-11-28Add workaround for localizing May and abbreviated May differently. IdeaPeter Eisentraut
2006-11-24Revert (too late in beta):Bruce Momjian
2006-11-24Fix to_char() locale handling to honor LC_TIME, not LC_MESSAGES.Bruce Momjian
2006-10-04pgindent run for 8.2.Bruce Momjian
2006-09-10Back out patch added during 8.2.X development:Bruce Momjian
2006-09-03Fix case where "PM" to_timestamp() mask was eating too many characters.Bruce Momjian
2006-04-19Fix problem that sscanf(buf, "%d", &val) eats leading white space, butBruce Momjian
2006-04-19C code whitespace inprovement for formatting.c.Bruce Momjian
2006-03-05Update copyright for 2006. Update scripts.Bruce Momjian
2006-03-03Add comment about localized month names for to_date and to_timestamp.Bruce Momjian
2006-02-12Revert because C locale uses "" for thousands_sep, meaning "n/a", whileBruce Momjian
2006-02-12Support "" for thousands separator and plus sign in to_char(), perBruce Momjian
2006-02-12Allow to_char() to print localized month and day names.Bruce Momjian
2005-12-03Allow to_char(interval) and to_char(time) to use AM/PM specifications.Bruce Momjian
2005-11-22Re-run pgindent, fixing a problem where comment lines after a blankBruce Momjian
2005-10-20Adjust not-too-sane calculation of DDD value for to_char(interval).Tom Lane
2005-10-15Standard pgindent run for 8.1.Bruce Momjian
2005-08-18Add hint for to_char(interval) invalid format specifications.Bruce Momjian
2005-08-18Fix to_char(interval) to return proper year and century values.Bruce Momjian
2005-08-17More formatting.c cleanups.Bruce Momjian
2005-08-17Small cleanup.Bruce Momjian
2005-08-17Adjust to_char/from_char code to use boolean "is_to_char" rather thanBruce Momjian
2005-07-27Fix a few macro definitions to ensure that unary minus is enclosed inNeil Conway
2005-07-23Andrew pointed out that the current fix didn't handle dates that wereBruce Momjian
2005-07-21Add time/date macros for code clarity:Bruce Momjian
2005-07-20Add 'day' field to INTERVAL so 1 day interval can be distinguished fromBruce Momjian
2005-06-24Code cleanup: remove 3 duplicate static function declarations.Neil Conway
2005-06-22More trivial dead code removal: in int_to_roman(), checking for "num == -1"Neil Conway
2005-06-15This patch makes it possible to use the full set of timezones when doingBruce Momjian
2005-05-25Add parentheses to macros when args are used in computations. WithoutBruce Momjian
2005-03-26Prevent to_char(interval) from dumping core on month-related formatsTom Lane
2005-03-25Fix to_date to behave reasonably when CC and YY fields are both used.Tom Lane
2005-01-13Remove unportable assumption that it's okay to use the target bufferTom Lane
2005-01-01Update copyrights that were missed.Bruce Momjian
2004-11-20Fix unportable isdigit() call --- must cast arg to unsigned char.Tom Lane
2004-11-01Update comment to point to proper file.Bruce Momjian
2004-10-28Fix to_number for the case of a trailing S.Tom Lane
2004-10-13More minor cosmetic improvements:Neil Conway
2004-08-30Another pgindent run with lib typedefs added.Bruce Momjian
2004-08-29Pgindent run for 8.0.Bruce Momjian
2004-08-29Update copyright to 2004.Bruce Momjian
2004-05-21Integrate src/timezone library for all platforms. There is more we canTom Lane
2004-05-07Solve the 'Turkish problem' with undesirable locale behavior for caseTom Lane
2004-03-30Fix to_char for 1 BC. Previously it returned 1 AD.Bruce Momjian
2004-01-07More janitorial work: remove the explicit casting of NULL literals to aNeil Conway
2003-12-25> > I have no idea if this in Oracle or not. But it's something IBruce Momjian
2003-11-29$Header: -> $PostgreSQL Changes ...PostgreSQL Daemon