mirror of
https://github.com/MistWeatherMedia/i2ME.git
synced 2026-11-28 14:20:00 -08:00
Deleted the LFRecord branch before sending in this, but gmtDiff minutes should be zero padded.
This commit is contained in:
1 parent
6c35bee67a
commit
f0530c1ff8
1 file changed
+1
-1
@@ -513,7 +513,7 @@ public class Program
|
||||
TimeZoneInfo tz = TimeZoneInfo.FindSystemTimeZoneById(point.ParsedData.location.ianaTimeZone);
|
||||
tempLF.tmZnNm = tz.StandardName;
|
||||
tempLF.tmZnAbbr = Regex.Replace(tz.StandardName, "[^A-Z]", "");
|
||||
tempLF.gmtDiff = $"{tz.BaseUtcOffset.Hours}.{tz.BaseUtcOffset.Minutes}";
|
||||
tempLF.gmtDiff = $"{tz.BaseUtcOffset.Hours}.{tz.BaseUtcOffset.ToString("mm")}";
|
||||
}
|
||||
|
||||
// Set wmoId and pllnId
|
||||
|
||||
Reference in new issue
Block a user