#
Timestamps
There are a lot of timestamps found across entities and it can admittedly get quite confusing.
#
Timestamp format
All dates use the Internet date/time format as defined in RFC 3339, in the UTC timezone when not specified.
For example, 1985-04-12T23:20:50.52Z
represents:
- The 12th of April, 1985
- At 23 hours 20 minute 50.52 seconds
- In UTC
#
CreatedAt
This date is present on all resources, it represents the instant when the resource was originally created.
#
UpdatedAt
This date is present on all resources, it represents the instant when the resource was last updated.
#
PublishAt
and ReadableAt
The following table explains the relationship between these two and the various possible states of a chapter:
Note that publishAt
may be set extremely far in the future as a way to say "it will always only be just a link".
#
PublishAt
This date is present on chapter resources and represents the instant when the content will be available directly on MangaDex.
- Before that time, the chapter will be visible but not readable directly
- If the chapter has a non-null
externalUrl
, then it will be link before being readable - If the chapter has no
externalUrl
, then it will only be displayed in the chapter lists
- If the chapter has a non-null
#
ReadableAt
This date is present on chapter resources and represents the instant when the chapter is "readable" at all.
That is, whether it's an external chapter or an internal chapter whose pages are now available directly on MangaDex.
- If publishAt is in future & chapter has externalUrl then readableAt is equals createdAt date
- Otherwise readableAt is equals publishAt date