Skip to content

Commit b638b96

Browse files
committed
Changed the date format for the recent uploads.
Function now returns dates as YYYY/MM/DD format (year, month, day). Changes pushed to `neotoma` and `neotomatilia`. Resolves issue #10.
1 parent e6f5b11 commit b638b96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

function/ti/getrecentuploads.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ AS $function$
1111
end as geopolitical,
1212
cdb.databasename,
1313
STRING_AGG(pic.contactname, '; ') AS investigator,
14-
to_CHAR(ds.recdatecreated, 'text') AS recdatecreated,
14+
to_CHAR(ds.recdatecreated, 'YYYY/MM/DD') AS recdatecreated,
1515
STRING_AGG(ct.contactname, '; ') as steward
1616
FROM ndb.datasets AS ds
1717
INNER JOIN ndb.datasettypes AS dst ON dst.datasettypeid = ds.datasettypeid

0 commit comments

Comments
 (0)