Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TimeFormat and Timestamp #1676

Merged
merged 8 commits into from
Jun 29, 2021
Merged

Conversation

MinnDevelopment
Copy link
Member

@MinnDevelopment MinnDevelopment commented Jun 18, 2021

Pull Request Etiquette

Changes

  • Internal code
  • Library interface (affecting end-user code)
  • Documentation
  • Other: _____

Closes Issue: NaN

Description

This adds utilities to parse and format timestamps in Discord markdown.

Example

channel.sendMessage("The beginning of time: " + TimeFormat.RELATIVE.format(0L)).queue();

image

image

@MinnDevelopment MinnDevelopment added size: small status: documentation needed lacks documentation, either partially or completely type: feature labels Jun 18, 2021
MinnDevelopment and others added 2 commits June 18, 2021 20:03
Co-authored-by: anweisen <60273047+anweisen@users.noreply.github.com>
@MinnDevelopment MinnDevelopment removed the status: documentation needed lacks documentation, either partially or completely label Jun 27, 2021
@MinnDevelopment MinnDevelopment marked this pull request as ready for review June 27, 2021 12:35
@MinnDevelopment MinnDevelopment added this to the v4.3.1 milestone Jun 27, 2021
Co-authored-by: Olivia <chew@chew.pw>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants