mirror of
https://github.com/gchq/CyberChef
synced 2024-11-15 00:57:08 +00:00
Merge branch 'datetime' of https://github.com/n1073645/CyberChef into n1073645-datetime
This commit is contained in:
commit
be544faf0f
2 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ class ParseDateTime extends Operation {
|
|||
"\nLeap year: " + date.isLeapYear() +
|
||||
"\nDays in this month: " + date.daysInMonth() +
|
||||
"\n\nDay of year: " + date.dayOfYear() +
|
||||
"\nWeek number: " + date.weekYear() +
|
||||
"\nWeek number: " + date.week() +
|
||||
"\nQuarter: " + date.quarter();
|
||||
|
||||
return output;
|
||||
|
|
|
@ -656,7 +656,7 @@ Leap year: false
|
|||
Days in this month: 31
|
||||
|
||||
Day of year: 187
|
||||
Week number: 2001
|
||||
Week number: 27
|
||||
Quarter: 3`;
|
||||
assert.strictEqual(result.toString(), expected);
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue