Opened 10 years ago

Closed 10 years ago

#7068 closed defect (fixed)

MythWeb Weather - Convert numbered days to text

Reported by: Joe Ripley <vitaminjoe@…> Owned by: Rob Smith
Priority: minor Milestone: 0.22
Component: Plugin - MythWeb Version: head
Severity: low Keywords: mythweb weather
Cc: Rob Smith Ticket locked: no

Description

Some weather grabbers report their dates as numbers (i.e. the BBC grabber). This allows the day of the week to get translated properly (implemented in changeset [19068]).

The weather module for MythWeb was never updated to reflect this, so these numbers aren't translated to day names.

The attached patch fixes this.

-- Joe Ripley vitaminjoe@…

Attachments (2)

7068.diff (1.4 KB) - added by Joe Ripley <vitaminjoe@…> 10 years ago.
Fix day name translation
7068.2.diff (1.4 KB) - added by Joe Ripley <vitaminjoe@…> 10 years ago.
Same patch, corrected a spelling error

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by Joe Ripley <vitaminjoe@…>

Attachment: 7068.diff added

Fix day name translation

comment:1 Changed 10 years ago by Joe Ripley <vitaminjoe@…>

Just realized I spelt 'Saturday' wrong in the patch...

'Satday' must be a day of the week in Smarch or something. Lousy Smarch.

-- Joe Ripley vitaminjoe@…

Changed 10 years ago by Joe Ripley <vitaminjoe@…>

Attachment: 7068.2.diff added

Same patch, corrected a spelling error

comment:2 Changed 10 years ago by Rob Smith

Resolution: fixed
Status: newclosed

(In [22329]) Fixes #7068, this translates weekday names from numbers

Note: See TracTickets for help on using tickets.