ParserFunctions: Fix some comments for meridian [#648]

staging
gnosygnu 4 years ago
parent 763c7b52b7
commit 57ad8e459a

@ -32,7 +32,7 @@ class Pft_fmt_itm_timezone_offset_4 implements Pft_fmt_itm {
bfr.Add_byte(Byte_ascii.Plus);
}
// calc mins / hours
// calc total mins
int tz_mins = tz_secs / 60;
// add bfr

@ -73,7 +73,7 @@ class Pxd_itm_meridian extends Pxd_itm_base implements Pxd_itm_prototype {
}
}
// hour found
// get hour
Pxd_itm_int hour_itm = (Pxd_itm_int)itm;
int hour = hour_itm.Val();
@ -93,7 +93,7 @@ class Pxd_itm_meridian extends Pxd_itm_base implements Pxd_itm_prototype {
}
}
// if no colon, eval int now else int will get eval'd as year; EX: "12 AM"
// if no colon, eval int now else int will get eval'd as year; EX: "12 AM" will be interpreted as "12" year
if (!colon_found)
return Pxd_eval_seg.Eval_as_h(state, hour_itm);
else {

Loading…
Cancel
Save