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

[bug] Date information all off #48

Open
ShaneBeee opened this issue Aug 10, 2018 · 0 comments
Open

[bug] Date information all off #48

ShaneBeee opened this issue Aug 10, 2018 · 0 comments

Comments

@ShaneBeee
Copy link

Hey
So i found this example in the docs on SkUnity

command /padi:
  trigger:
    set {_tmpO} to now
    broadcast "Date: %{_tmpO}%"
    broadcast "Year: %year from date {_tmpO}%"
    broadcast "Month: %month from date {_tmpO}%"
    broadcast "Month Name: %month name from date {_tmpO}%"
    broadcast "Day of Year: %day of year from date {_tmpO}%"
    broadcast "Day of Month: %day of month from date {_tmpO}%"
    broadcast "Day of Week: %day of week from date {_tmpO}%"
    broadcast "Day Name: %day name from date {_tmpO}%"
    broadcast "Hour: %hours from date {_tmpO}%"
    broadcast "Minute: %minutes from date {_tmpO}%"
    broadcast "Second: %seconds from date {_tmpO}%"

When I tried that out, This is the output I got

[01:14:55 INFO]: Date: 10/08/18 1:14 AM
[01:14:55 INFO]: Year: 2077
[01:14:55 INFO]: Month: 1
[01:14:55 INFO]: Month Name: JANUARY
[01:14:55 INFO]: Day of Year: 1
[01:14:55 INFO]: Day of Month: 1
[01:14:55 INFO]: Day of Week: 5
[01:14:55 INFO]: Day Name: FRIDAY
[01:14:55 INFO]: Hour: 10/08/18 2:14 AM
[01:14:55 INFO]: Minute: 10/08/18 2:15 AM
[01:14:55 INFO]: Second: 10/08/18 2:15 AM

Each time I tried it, it kept changing.
Ass you can see the date I checked this at was "Date: 10/08/18 1:14 AM" <-- that part is correct
The rest is all wrong. As the time went on and I checked it again, it gave a whole new bunch of info.
I have my date format in the Skript config set to default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant