Added a field with the current local date to the data package
This commit is contained in:
@@ -149,8 +149,8 @@ type Discussion struct {
|
||||
}
|
||||
|
||||
type DiscussionSection struct {
|
||||
Title string `json:"title,omitempty"`
|
||||
Narrative string `json:"narrative,omitempty"`
|
||||
Qualifier string `json:"qualifier,omitempty"`
|
||||
Text string `json:"text,omitempty"`
|
||||
IssuedAt *time.Time `json:"issuedAt,omitempty"`
|
||||
}
|
||||
|
||||
|
||||
8
internal/forecast/testdata/daily_bundle.json
vendored
8
internal/forecast/testdata/daily_bundle.json
vendored
@@ -56,12 +56,12 @@
|
||||
"Storms are most likely during the morning."
|
||||
],
|
||||
"shortTerm": {
|
||||
"title": "Short Term",
|
||||
"narrative": "Morning showers taper as a weak boundary shifts east."
|
||||
"qualifier": "(Through This Evening)",
|
||||
"text": "Morning showers taper as a weak boundary shifts east."
|
||||
},
|
||||
"longTerm": {
|
||||
"title": "Long Term",
|
||||
"narrative": "Warmer and more humid conditions return with periodic rain chances."
|
||||
"qualifier": "(This Weekend)",
|
||||
"text": "Warmer and more humid conditions return with periodic rain chances."
|
||||
}
|
||||
},
|
||||
"sources": [
|
||||
|
||||
Reference in New Issue
Block a user