kartu / prs-plus

Automatically exported from code.google.com/p/prs-plus
6 stars 1 forks source link

DEV: Add a way to get chosen date format #239

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Addons need to format dates, but there is no way to check which format was 
chosen by the user.

Original issue reported on code.google.com by msukhias...@gmail.com on 5 Dec 2011 at 9:25

GoogleCodeExporter commented 9 years ago

Original comment by msukhias...@gmail.com on 5 Dec 2011 at 9:25

GoogleCodeExporter commented 9 years ago
On PRS 505 there is the script "lang.js" where the users can choose format date.

Original comment by VICTOR...@gmail.com on 5 Dec 2011 at 4:14

GoogleCodeExporter commented 9 years ago
And maybe link the Standard-UI-Clock/Date-Settings to the PRS+ one (where 
applicable)

Original comment by Mark.N...@gentlemansclub.de on 14 Feb 2012 at 2:52

GoogleCodeExporter commented 9 years ago
I've made a start on this: core__system.js now has a dateFormat function.  It 
works fine on the 600/x50 but the 505 handles things differently, and I just 
couldn't work it out.  So if anyone with a 505 wants to fix it, please go 
ahead!  (At the moment, it just defaults to 'Day-Month-Year'.)

The event overlay on standby/shutdown now calls this new dateFormat function 
and outputs the event dates accordingly.

I've also noticed that while the Sony code (and my event overlay code) refers 
to 'Year-Month-Day' there appears to be no way to actually select that option 
using the Sony settings menu.

Original comment by ben.chen...@gmail.com on 5 Apr 2012 at 1:04