Hello,
Anybody knows what can be done with these calcvar we got from version 0.10.0?
I am trying to display the date/time of the last weather update I did but not ET time, preferably my local time.
Is one of those the solution?
- calcvar,var<x>,weatherupdatetimediff
TransFXB
You dont need that, find the area where you have today's temperature listed like:
today,temp,51,16,,,r
today,realtemp,51,28,,,r
Along with that you need to put something like this to display the updatetime.
text,23,40,[updatetime],c,l
Thanks Itanium,
but this displays local time of update in the US (ET) but not my local time update (France), ie there is at least 8 hours difference.
TransFXB
Quote from: TransFXBthis displays local time of update in the US (ET) but not my local time update (France), ie there is at least 8 hours difference.
Actually, the [updatetime] is the
local time that you last synchronised the weather information.
I believe the time you are referring to is obtained through the command:
today,date,235,36,,,rBut that date/time is taken from the MSNBC feed, is un-parsed, and will be in ET or whatever MSNBC.com use. There is currently no facility for converting it.
The calcvar for
weatherupdatetimediff compares the time in the feed (which I guess
must be parsed to do this) with the current system time. Due to the time zone problems this poses, I believe srs is planning to change the behaviour of
weatherupdatetimediff to use the update time, instead.[/code]
As arbitrajeu said, you are probably confusing it with the
today,date,235,36,,,r
I myself am in Paris/Madrid time zones and those lines I posted above are from the skin I am using and time displays just right and in local zone for me.
I added the line for the time as stated above, but it located it ontop of the temp, blocking the readout. Any way to move it? I am using the slider skin 10
Quote from: joelw135I added the line for the time as stated above, but it located it ontop of the temp, blocking the readout. Any way to move it? I am using the slider skin 10
You need to change the x and y positions. In this line the bolded area is the x and y locations:
today,date,
235,36,,,r
Change those so that it lines up where you want.
Thanks for your answers,
But again, what I am looking for is a way to get both the local DATE and TIME of the last weather update I did.
today, date,.... returns DATE and TIME, but time is MSNBC (ET) time.
updatetime returns only the TIME and it's local.
Problem with the last one is that if you have not updated for a couple of days you don't know/remember on what day you did the last update.
You have then no indication on the 'freshness' of your last update.
To summarize, what I am looking for is a function that returns :
DATE and TIME (local, not MSNBC's) of the last weather update.
TransFXB
Quote from: TransFXBTo summarize, what I am looking for is a function that returns :
DATE and TIME (local, not MSNBC's) of the last weather update.
Indeed. I was trying to say that I don't think this is currently possible.
I think we have discussed this elsewhere, but I don't think it's right for the date/time provided by the feed being parsed and converted.
However, it might be worthwhile posting a Feature Request for a command like:
text,23,40,[updatedate],c,l