From 4c47d6dad773a202935dc5a4ecff1f7c852dc594 Mon Sep 17 00:00:00 2001 From: Zeros Developer <33526722+zerosdev@users.noreply.github.com> Date: Sat, 25 Mar 2023 13:38:40 +0700 Subject: [PATCH] Update README.md --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index baf6094..3e54be8 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ $result = $transaction 'customer_name' => 'Nama Pelanggan', 'customer_email' => 'email@konsumen.id', 'customer_phone' => '081234567890', - 'expired_time' => Helper::makeTimestamp('6 HOUR'), + 'expired_time' => Helper::makeTimestamp('6 HOUR'), // see Supported Time Units ]); echo $result->getBody()->getContents(); @@ -70,3 +70,10 @@ echo json_encode($debugs, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES); ``` Please check the `/examples` for the other examples + +## Supported Time Units +> :exclamation: All time units are in a singular noun +- SECOND +- MINUTE +- HOUR +- DAY