Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converting Strings to Numbers not possible? #74

Open
Somnioblivio opened this issue Feb 4, 2019 · 0 comments
Open

Converting Strings to Numbers not possible? #74

Somnioblivio opened this issue Feb 4, 2019 · 0 comments

Comments

@Somnioblivio
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant