Skript
Skript copied to clipboard
Timespan format in config
Suggestion
I would like to suggest an option in the Skript config to format timespans similar to how there's a date format option in the config.
Why?
I CONSTANTLY see people asking in the help channels how to format a timespan, because honestly, I think everyone hates "1 minute and 35.46 seconds" I don't think anyone out there cares to see fractional seconds.
Other
No response
Agreement
- [X] I have read the guidelines above and affirm I am following them with this suggestion.
This should also be set to true by default
This should also be set to true by default
im not sure what you're talking about, cause it wouldn't be a boolean.
see date format
date format: default
# The date format to be used when dates should be displayed.
# This can be 'default' to use Java's default date format for the system's language.
# The format is that of Java's SimpleDateFormat as defined here: https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html
# some examples:
# d/M/yyyy h:mm a => 15/7/2012 8:53 PM
# dd.MM.yyyy, HH:mm => 16.03.2013, 09:33
im not sure what you're talking about, cause it wouldn't be a boolean.
I was thinking of it like this: (Example) Format Timespan: true if it was set to true, it would use whatever the date format is, but I see where you're coming from
im not sure what you're talking about, cause it wouldn't be a boolean.
I was thinking of it like this: (Example) Format Timespan: true if it was set to true, it would use whatever the date format is, but I see where you're coming from
They should absolutely be different formats. You wouldnt even be able to use the same format for a timespan anyway.
im not sure what you're talking about, cause it wouldn't be a boolean.
I was thinking of it like this: (Example) Format Timespan: true if it was set to true, it would use whatever the date format is, but I see where you're coming from
They should absolutely be different formats. You wouldnt even be able to use the same format for a timespan anyway.
Fair point
I would rather see this as an expression, similar to date formatted as, so it can be dynamically changed.