Converting Strings to Numbers not possible?
Somnioblivio opened this issue ยท 0 comments
I'm attempting to show a different real life time than my local time (9 hours behind my current timezone, as its my little brother's local time zone)
Current attempt (that fails for fairly obvious reasons):
<line>
<str>$flocal: $6{rltime12}$f</str>
</line>
<line>
<str>$fCali: $6</str>
<sub>
<var>rltime24</var>
<num>9</num>
</sub>
<var>rltimeh</var>
<str>$f</str>
</line>
This second is not working because rltime24 is a string thus doesnt work in the function. Additionally i tried to see if rltimeh was valid but sadly it isnt a valid variable...
i am simply trying to subtract 9 hours from the local time and have it display the desired value. Is there another method to accomplish this that i'm just missing?
Thanks in advance!
P.S. For what its worth, I really love the mod and have some other ideas that came up after talking with Vazkii a few weeks back.... I'm not sure your appetite for ideas/suggestions at this time however so i'll save the wall of text until i hear from you guys.
Thanks again for the consideration and any time spent addressing this issue.
-Som