A PostgreSQL extension for formatting ethiopic dates and numbers.
801
A PostgreSQL extension for formatting ethiopic dates and numbers.
-- Load PG extension
CREATE EXTENSION pg_ethopic;
-- Format the current date as an ethiopic date.
SELECT ethopic_date(CURRENT_DATE);
-- Format the current date as an ethiopic date with a custom format template.
SELECT ethopic_date(CURRENT_DATE, '{year}/{month}/{day}');
-- Format a given number as an ethopic number.
SELECT ethopic_number(420);
Content type
Image
Digest
sha256:036340473…
Size
168.1 MB
Last updated
over 1 year ago
docker pull frectonz/pg-ethopic