Skip to content

[bug] Date information all off #48

@ShaneBeee

Description

@ShaneBeee

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions