forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd20901a
committed
Allow to_char(interval) and to_char(time) to use AM/PM specifications.
Map them to a single day, so '30 hours' is 'AM'.Have to_char(interval) and to_char(time) use "HH", "HH12" as 12-hourintervals, rather than bypass and print the full interval hours. Thisis neeeded because to_char(time) is mapped to interval in this function.Intervals should use "HH24", and document suggestion.Allow "D" format specifiers for interval/time.1 parenteb339c7 commitd20901a
2 files changed
+25
-21
lines changedLines changed: 9 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
| 2 | + | |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| |||
4749 | 4749 |
| |
4750 | 4750 |
| |
4751 | 4751 |
| |
| 4752 | + | |
| 4753 | + | |
| 4754 | + | |
| 4755 | + | |
| 4756 | + | |
| 4757 | + | |
| 4758 | + | |
| 4759 | + | |
4752 | 4760 |
| |
4753 | 4761 |
| |
4754 | 4762 |
| |
|
Lines changed: 16 additions & 20 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
| 4 | + | |
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| |||
434 | 434 |
| |
435 | 435 |
| |
436 | 436 |
| |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
437 | 441 |
| |
438 | 442 |
| |
439 | 443 |
| |
| |||
1722 | 1726 |
| |
1723 | 1727 |
| |
1724 | 1728 |
| |
1725 |
| - | |
1726 | 1729 |
| |
1727 | 1730 |
| |
1728 |
| - | |
1729 |
| - | |
| 1731 | + | |
| 1732 | + | |
1730 | 1733 |
| |
1731 | 1734 |
| |
1732 | 1735 |
| |
| |||
1742 | 1745 |
| |
1743 | 1746 |
| |
1744 | 1747 |
| |
1745 |
| - | |
1746 | 1748 |
| |
1747 | 1749 |
| |
1748 |
| - | |
1749 |
| - | |
| 1750 | + | |
| 1751 | + | |
1750 | 1752 |
| |
1751 | 1753 |
| |
1752 | 1754 |
| |
| |||
1762 | 1764 |
| |
1763 | 1765 |
| |
1764 | 1766 |
| |
1765 |
| - | |
1766 | 1767 |
| |
1767 | 1768 |
| |
1768 |
| - | |
1769 |
| - | |
| 1769 | + | |
| 1770 | + | |
1770 | 1771 |
| |
1771 | 1772 |
| |
1772 | 1773 |
| |
| |||
1782 | 1783 |
| |
1783 | 1784 |
| |
1784 | 1785 |
| |
1785 |
| - | |
1786 | 1786 |
| |
1787 | 1787 |
| |
1788 |
| - | |
1789 |
| - | |
| 1788 | + | |
| 1789 | + | |
1790 | 1790 |
| |
1791 | 1791 |
| |
1792 | 1792 |
| |
| |||
1804 | 1804 |
| |
1805 | 1805 |
| |
1806 | 1806 |
| |
1807 |
| - | |
1808 |
| - | |
1809 |
| - | |
1810 |
| - | |
1811 |
| - | |
1812 |
| - | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
1813 | 1810 |
| |
1814 | 1811 |
| |
1815 | 1812 |
| |
| |||
2312 | 2309 |
| |
2313 | 2310 |
| |
2314 | 2311 |
| |
2315 |
| - | |
2316 | 2312 |
| |
2317 | 2313 |
| |
2318 | 2314 |
| |
|
0 commit comments
Comments
(0)