Fixed minor typo ("code" at the end, not "codes")

This commit is contained in:
Trey Blancher 2022-11-11 19:18:19 -05:00
parent 8ed4c7410b
commit c9651fdb58
1 changed files with 1 additions and 1 deletions

View File

@ -68,5 +68,5 @@ Again, this is for my old Microsoft Bluetooth Notebook mouse which is more than
## Note
Due to limitations of Rust's strftime implementation, the string representation of the timezone (in the example above, "EST") is ignored. This program currently has a limited set of timezone abbreviations it supports. If the log contains other timezones not explicitly defined in the `match timezone {}` block in the main program loop (`for line in reader.lines(){}`), the program will panic. We'd need to include an explicit mapping for the desired timezone.
Again, this timezone abbreviation to actual timezone mapping is not intended to be exhaustive, as there are inherent ambiguities in the timezone abbreviations. E.g., "CDT" could mean Central Daylight Time (US), or China Daylight Time. This match codes handles the ambiguity rather arbitrarily, consider changing the mapping to suit your needs.
Again, this timezone abbreviation to actual timezone mapping is not intended to be exhaustive, as there are inherent ambiguities in the timezone abbreviations. E.g., "CDT" could mean Central Daylight Time (US), or China Daylight Time. This match code handles the ambiguity rather arbitrarily, consider changing the mapping to suit your needs.