TibiaData / tibiadata-api-go

TibiaData API written in Golang and deployed in container (version v3 and above).
https://api.tibiadata.com
MIT License
79 stars 26 forks source link

new world record_date field omit if empty #349

Closed tobiasehlert closed 4 months ago

tobiasehlert commented 4 months ago

A new world that has no record yet should not display a record date string.. it should rather be omit since it's empty.

Example on /v4/world/Oceanis

{
  "world": {
    "name": "Oceanis",
    "status": "online",
    "players_online": 0,
    "record_players": 0,
    "record_date": "",
    "creation_date": "2024-04",
...