aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/populate/src/record.rs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/populate/src/record.rs')
-rw-r--r--pkgs/populate/src/record.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/populate/src/record.rs b/pkgs/populate/src/record.rs
index dd52bda..b927317 100644
--- a/pkgs/populate/src/record.rs
+++ b/pkgs/populate/src/record.rs
@@ -28,7 +28,7 @@ pub fn now() -> String {
}
/// seconds since the epoch, in UTC, like 2026-11-20T12:34:56Z.
-fn timestamp(seconds: u64) -> String {
+pub fn timestamp(seconds: u64) -> String {
let (days, rest) = (seconds / 86400, seconds % 86400);
// The proleptic Gregorian calendar's date of a day since the epoch,
// after Howard Hinnant's civil_from_days, with eras of 400 years