Skip to content

Commit

Permalink
Change KV_DEFAULT_DATE_FORMAT to var
Browse files Browse the repository at this point in the history
Updated KV_DEFAULT_DATE_FORMAT from a constant to a variable, allowing its value to be modified at runtime. This change provides greater flexibility for formatting dates dynamically.
  • Loading branch information
tfonrouge committed Nov 28, 2024
1 parent 2a19011 commit 6efa7b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ package io.kvision.types

import kotlin.js.Date

const val KV_DEFAULT_DATE_FORMAT = "YYYY-MM-DD HH:mm:ss"
var KV_DEFAULT_DATE_FORMAT = "YYYY-MM-DD HH:mm:ss"

actual typealias LocalDateTime = Date

Expand Down

0 comments on commit 6efa7b8

Please sign in to comment.