mirror of
https://github.com/gnosygnu/xowa.git
synced 2025-05-30 14:04:56 +00:00
ParserFunctions: Fix some comments for meridian [#648]
This commit is contained in:
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…
Reference in New Issue
Block a user