Hacker News new | past | comments | ask | show | jobs | submit login

    "prepTime": {
        "text": "15 minutes",
        "iso": "PT15M",
        "minutes": 15
    }
Why are you triplicating the time periods? I would limit that to just the ISO 8601 value (PT15M) and let the UI choose the proper rendering of the value.



Agreed; also more useful for internationalisation to keep textual descriptions out of the data, wherever possible.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: