Skip to content

Commit

Permalink
Update timestamp func
Browse files Browse the repository at this point in the history
  • Loading branch information
ClemensRau1337 authored Sep 28, 2023
1 parent 928ba1c commit 17cf60c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/database/dynamodb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class DynamoClient {
* @param parentId
*/

function formatDateToCustomFormat(date: Date): string {
public async formatDateToCustomFormat(date: Date): string {
const dd = String(date.getDate()).padStart(2, '0');
const mm = String(date.getMonth() + 1).padStart(2, '0'); // Monate sind von 0 bis 11
const yyyy = date.getFullYear();
Expand Down

0 comments on commit 17cf60c

Please sign in to comment.