Browse Source

Update README.md

Dmitry Shin 10 years ago
parent
commit
d532a2da61
1 changed files with 3 additions and 0 deletions
  1. 3 0
      README.md

+ 3 - 0
README.md

@@ -30,6 +30,9 @@ $clientrawdaily = file_get_contents($url.'/clientrawdaily.txt');
 // Create class instance
 // Create class instance
 $wd = new WeatherDisplay;
 $wd = new WeatherDisplay;
 
 
+// Set station locale set (language) for date parsing
+$wd->locale = 'ru_RU';
+
 // Parse "wdfulldata.xml" file
 // Parse "wdfulldata.xml" file
 $wdfulldata_array = $wd->parse_wdfulldata($wdfulldata);
 $wdfulldata_array = $wd->parse_wdfulldata($wdfulldata);