NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 341 342 343 344 345 … 1231 Next »
24 Hour Clock

 
  • 0 Vote(s) - 0 Average
24 Hour Clock
Mazaryk
Offline

Junior Member

Posts: 4
Threads: 1
Joined: Apr 2008
#1
2008-04-02, 02:19 AM
Hello,

I'm trying to figure out how to get gbpvr to display time using 24 Hour clock. I found a previous thread that said gbpvr goes off the "Short date format". That's a little confusing, since we're talking time here, not dates. Also, my time format in XP is set to 24 hour clock ("HH:mmConfuseds").

All suggestions are welcome. I'm running v1.1.5 and XP SP2

Thanks,
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,754
Threads: 769
Joined: Nov 2003
#2
2008-04-02, 02:22 AM
GB-PVR just asks .NET to convert dates to strings, which behind the scenes uses your machine locale to determine the appropriate date format.
Mazaryk
Offline

Junior Member

Posts: 4
Threads: 1
Joined: Apr 2008
#3
2008-04-02, 02:31 AM
Thanks for the speedy reply. Smile However, you didn't really answer my question. How do I adjust my system settings so that the time is displayed in 24 Hour clock? Perhaps some troubleshooting suggestions? Feel free to be technical.

Thank you,
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,754
Threads: 769
Joined: Nov 2003
#4
2008-04-02, 02:38 AM
If you want 24 hour clock, and the locale you're using has a 24hr clock, then you automatically get a 24 hour clock. If not, then google 'datetime tostring format' and you should find some info on what to fix on your machine.

There is a few ways of changing it to override your locale settings. One that springs to mind was changing some of the settings in the HKEY_CURRENT_USER\ControlPanel\International registry key.

There can be a few complications if you're talking about on an MVP, since these processes run as a different user account.
Carlito
Offline

Posting Freak

Posts: 817
Threads: 41
Joined: May 2006
#5
2008-04-02, 02:59 AM
Hey Mazaryk Wink try changing the registry entry
sTimeFormat in HKEY_CURRENT_USER\ControlPanel\International minus the 'tt' at the end.
Let us know
----------------------
[SIZE="1"]PVRX2 1.3.11
Shuttle SG33G5 Case
Core2Duo E8400 3Ghz -- 4 GB RAM
Hauppauge PVR-150
Adaptec AVC-3610 Dual Tuner
Onboard Intel GMA 3100 through HDMI -- 500GB
37" Westinghouse LCD (1920 x 1080p)

Projects
Program Image Tool[/SIZE]
Carlito
Offline

Posting Freak

Posts: 817
Threads: 41
Joined: May 2006
#6
2008-04-02, 05:00 PM
Hmm, I tried changing that registry key and nothing seems to change. Still get the time in am/pm format in gbpvr. The system time shows up as 24hour though. The only way I can get the time to show up as 24 hour in .net is to use the ToLocalTime instead of ToShortDate.
Is there any other way to get the 24 hour format inside of gbpvr?
----------------------
[SIZE="1"]PVRX2 1.3.11
Shuttle SG33G5 Case
Core2Duo E8400 3Ghz -- 4 GB RAM
Hauppauge PVR-150
Adaptec AVC-3610 Dual Tuner
Onboard Intel GMA 3100 through HDMI -- 500GB
37" Westinghouse LCD (1920 x 1080p)

Projects
Program Image Tool[/SIZE]
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,754
Threads: 769
Joined: Nov 2003
#7
2008-04-02, 05:18 PM
You can force the culture to get it different date/time displays by using the <Culture> setting in config.xml. Its usally set to default, which just lets .net use your default culture. For example, see the difference in your date/time display with the following two:

<Culture>en-NZ</Culture>
<Culture>it-IT</Culture>
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,754
Threads: 769
Joined: Nov 2003
#8
2008-04-02, 05:19 PM
List of cultures here: http://msdn2.microsoft.com/en-us/library...einfo.aspx

As an example, <Culture>en-GB</Culture> gives a 24hr clock.
Carlito
Offline

Posting Freak

Posts: 817
Threads: 41
Joined: May 2006
#9
2008-04-02, 05:21 PM
Ahh, didn't know about that config option. Will test it out.
Thanks sub
----------------------
[SIZE="1"]PVRX2 1.3.11
Shuttle SG33G5 Case
Core2Duo E8400 3Ghz -- 4 GB RAM
Hauppauge PVR-150
Adaptec AVC-3610 Dual Tuner
Onboard Intel GMA 3100 through HDMI -- 500GB
37" Westinghouse LCD (1920 x 1080p)

Projects
Program Image Tool[/SIZE]
Mazaryk
Offline

Junior Member

Posts: 4
Threads: 1
Joined: Apr 2008
#10
2008-04-02, 05:31 PM
Awesome, Thanks. I'll try it out when I get home from work and post my findings.

Cheers,
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  TV Guide listings 1 hour early ooben 6 2,114 2009-08-29, 02:54 AM
Last Post: ooben
  Recording failed due to clock change Agamemnon 1 1,304 2009-03-30, 10:06 AM
Last Post: martint123
  Daylight savings - EPG off by an hour now pduncan67 8 3,669 2009-03-14, 06:02 AM
Last Post: User
  Program listings off by 1 hour RandyAdamsTN 5 1,912 2009-03-13, 01:53 AM
Last Post: RandyAdamsTN
  no show details for 1 hour, all channels johnsonx42 11 3,170 2009-03-08, 10:20 PM
Last Post: zehd
  Popcorn hour (PCH) client installation tips vskatusa 1 1,208 2008-08-16, 08:05 PM
Last Post: martint123
  Freeview NZ DVB-T EPG only shows next hour of programs StephenW 2 1,565 2008-05-12, 04:25 AM
Last Post: sub
  TS file plays 14s longer than duration (on one hour) vmq 3 1,668 2008-05-02, 05:43 PM
Last Post: sub
  Timeshift stop after about 1 hour neoxeo 23 5,609 2008-05-01, 07:42 PM
Last Post: sub
  NZ Freeview EPG out by an hour... psycik 10 2,933 2008-04-08, 09:08 PM
Last Post: hasso

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode