Jump to content

Template:Doc-human-timestamp

From translatewiki.net


  • Usage
    {{Doc-human-timestamp|12:00|10}}
  • Result
    Can be a full date and time or a partial time reference, with one of the following messages (in the example, a time of 12:00 distant 10 units of time):
    • just now
    • 10 hours ago
    • 10 minutes ago
    • 10 seconds ago
    • Monday at 12:00
    • Tuesday at 12:00
    • Wednesday at 12:00
    • Thursday at 12:00
    • Friday at 12:00
    • Saturday at 12:00
    • Sunday at 12:00
    • 12:00
    • Yesterday at 12:00