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 a method to convert skript date to java date #7161

Open
1 task done
Fusezion opened this issue Oct 23, 2024 · 0 comments
Open
1 task done

Add a method to convert skript date to java date #7161

Fusezion opened this issue Oct 23, 2024 · 0 comments
Labels
enhancement Feature request, an issue about something that could be improved, or a PR improving something. PR available Issues which have a yet-to-be merged PR resolving it priority: lowest "Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements).

Comments

@Fusezion
Copy link
Contributor

Suggestion

As the title said, I'd like a method similar to timespan's toDuration for date converting skript's date object to a java date object (and vice versa if needed)

Why?

About an hour ago I started to work on a mild project and I end up needing to interact a lot between java's Date class and skript's Date class, and it's beginning to be annoying doing new JavaDate(value.getTimestamp()) and new Date(value.getTime()) over and over

Other

This is just a some qol thing for developers to more easily interact between the two

Agreement

  • I have read the guidelines above and affirm I am following them with this suggestion.
@erenkarakal erenkarakal added the enhancement Feature request, an issue about something that could be improved, or a PR improving something. label Oct 25, 2024
@Efnilite Efnilite added the priority: lowest "Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements). label Oct 28, 2024
@Efnilite Efnilite mentioned this issue Nov 1, 2024
@Efnilite Efnilite added the PR available Issues which have a yet-to-be merged PR resolving it label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature request, an issue about something that could be improved, or a PR improving something. PR available Issues which have a yet-to-be merged PR resolving it priority: lowest "Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements).
Projects
None yet
Development

No branches or pull requests

3 participants