Dan, when you handled the answer from SDTstring (macroString) in your
version of the applet you had this code:

Code:
--------------------
    
  local text = os.date(chunk.data.SDTstring,time)
  self.items[no]:setWidgetValue("itemno",text)
  log:debug("Result from SDTString: "..text)
  
--------------------

Is there a reason why you call os.date here ? 

Won't this collide with the  %H (wu_humidity) and %M (wu_dewpointC)
replaced by the plugin ?

It feels like we should have a separate syntax if we like to be able to
mix os.date keywords with SDT keywords in the same formatting string.
Maybe we could use %%M and let the applet replace %% with % before it
pass it to os.date ?


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=77864

_______________________________________________
jive mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive

Reply via email to