mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
ParserFunctions: Fix some comments for meridian [#648]
This commit is contained in:
@@ -32,7 +32,7 @@ class Pft_fmt_itm_timezone_offset_4 implements Pft_fmt_itm {
|
|||||||
bfr.Add_byte(Byte_ascii.Plus);
|
bfr.Add_byte(Byte_ascii.Plus);
|
||||||
}
|
}
|
||||||
|
|
||||||
// calc mins / hours
|
// calc total mins
|
||||||
int tz_mins = tz_secs / 60;
|
int tz_mins = tz_secs / 60;
|
||||||
|
|
||||||
// add bfr
|
// 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;
|
Pxd_itm_int hour_itm = (Pxd_itm_int)itm;
|
||||||
int hour = hour_itm.Val();
|
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)
|
if (!colon_found)
|
||||||
return Pxd_eval_seg.Eval_as_h(state, hour_itm);
|
return Pxd_eval_seg.Eval_as_h(state, hour_itm);
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user