Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
makrsmark committed Nov 13, 2024
1 parent 01dfaa9 commit 6b45cbf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/utils/result_formatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ export class ResultFormatter {
static day(decodeResult: DecodeResult, day: number) {
decodeResult.raw.day = day;
decodeResult.formatted.items.push({
type: 'day_of_month',
type: 'day',
code: 'MSG_DAY',
label: 'Day of Month',
value: `${day}`,
Expand All @@ -337,7 +337,7 @@ export class ResultFormatter {
static month(decodeResult: DecodeResult, month: number) {
decodeResult.raw.month = month;
decodeResult.formatted.items.push({
type: 'month_of_year',
type: 'month',
code: 'MSG_MON',
label: 'Month of Year',
value: `${month}`,
Expand All @@ -347,7 +347,7 @@ export class ResultFormatter {
static departureDay(decodeResult: DecodeResult, day: number) {
decodeResult.raw.departure_day = day;
decodeResult.formatted.items.push({
type: 'day_of_month',
type: 'day',
code: 'DEP_DAY',
label: 'Departure Day',
value: `${day}`,
Expand All @@ -357,7 +357,7 @@ export class ResultFormatter {
static arrivalDay(decodeResult: DecodeResult, day: number) {
decodeResult.raw.arrival_day = day;
decodeResult.formatted.items.push({
type: 'day_of_month',
type: 'day',
code: 'ARR_DAY',
label: 'Arrival Day',
value: `${day}`,
Expand Down

0 comments on commit 6b45cbf

Please sign in to comment.