Boris - awesome job with all the updates to the program! :cheer:
Some day - I would really love to see the option to change the date format to M/D/Y rather than just D/M/Y - it's just backwards for those of us in the US.... I get an email once a month asking to change the format!
Thanks!
Date Format
Moderator: Mattk
Re:Date Format
Rather than using the full timestamp variable, there are several pre-chunked variables already available that should enable you to do this easily enough either via PHP or standard HTML substitution: [actual_date0_day_local], [actual_date0_month_local] and [actual_date0_year_local] come to mind, along with hour/minute/second to build a full display.
It's slightly more complicated if you're using the flash Dashboard, but I believe you can manipulate the all_sensors.xml file sufficiently to accomplish that task?
(Though of course having the option to specify your local date/time format by using standard UNIX time() substitutions would always be a welcome addition!)
It's slightly more complicated if you're using the flash Dashboard, but I believe you can manipulate the all_sensors.xml file sufficiently to accomplish that task?
(Though of course having the option to specify your local date/time format by using standard UNIX time() substitutions would always be a welcome addition!)
Re:Date Format
I'll take a look at that. The time stamp I'm concerned with is what's in the clientraw for WDL.....
Re:Date Format
Thanks Sevenless - you got me looking at my WDL xml file and sure enough the date was backwards even though the Configurator program had it set correctly.... All though I couldn't find the all_sensor file this did the trick... Do you know where that is located - I couldn't find it either through ssh... Oh well!
Now if I could find a way to change to a 12 hr clock rather than 24 hr....
Thanks!
Now if I could find a way to change to a 12 hr clock rather than 24 hr....
Thanks!
Re:Date Format
In manual v3.1 the information about the all-sensors.txt and .xml files are covered starting in section 2.11.2, and in much more thorough detail in sections 4.4 (.txt) and 4.5 (.xml).
You can query them directly by pointing your browser to http://<path_to_meteohub>/meteograph.cgi?text=all for the all-sensors.txt, and http://<path_to_meteohub>/meteograph.cgi?text=allxml for the .xml version of the file.
Alternately you can also generate the files on the graph uploads page -- they're one of the drop-down choices available in addition to any graphs you've defined.
You can query them directly by pointing your browser to http://<path_to_meteohub>/meteograph.cgi?text=all for the all-sensors.txt, and http://<path_to_meteohub>/meteograph.cgi?text=allxml for the .xml version of the file.
Alternately you can also generate the files on the graph uploads page -- they're one of the drop-down choices available in addition to any graphs you've defined.
