Skip to main content

Time Format

In many places in BattleArena, a duration is specified a configuration option. Time durations are abbreviated and multiple can be chained together.

Duration Abbreviations

  • y: Years
  • M (uppercase): Months
  • w: Weeks
  • d: Days
  • h: Hours
  • m (lowercase): Minutes
  • s: Seconds

Examples

phases:
  countdown:
    ...
    countdown-time: 1m30s # 1 minute 30 seconds
  victory:
    ...
    duration: 5s # 5 seconds