Simplify template
This commit is contained in:
parent
a0e0e35c49
commit
4169c1305f
|
|
@ -32,6 +32,6 @@ class CreateFileWithFilenameTemplateAction(
|
|||
|
||||
private fun processTemplate(template: String): String {
|
||||
val epoch = LocalDateTime.now(ZoneOffset.UTC).toEpochSecond(ZoneOffset.UTC)
|
||||
return template.replace("{{EPOCH}}", epoch.toString())
|
||||
return template.replace("{EPOCH}", epoch.toString())
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user