NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 25 26 27 28 29 … 101 Next »
Guide Timeline - time display

 
  • 0 Vote(s) - 0 Average
Guide Timeline - time display
matey
Offline

Junior Member

Canada
Posts: 2
Threads: 1
Joined: May 2023
#1
2023-05-29, 06:59 PM
Hey sub,

I noticed that the guide's timeline is showing military format of time rather than the system's regional setting of 12h. I checked the source code in the webpage (Version: 6.1.3.230521) and see that you're checking for the system to use am/pm in this code.

            if (dateString.match(/am|pm/i) || date.toString().match(/am|pm/i)) {
                //12 hour clock
                militaryTime = false;
            }

In Safari on my iPad and Mac these do return am/pm, as per your check. However, on my Windows 11 with Edge, the system is using a.m./p.m.

Here's the console log output:

guide.html:334 0: 12:00:00 a.m.
guide.html:346 0: 12:30:00 a.m.

Could you please update your code to look for either am/pm or a.m./p.m.?

Thanks
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,648
Threads: 767
Joined: Nov 2003
#2
2023-05-29, 07:08 PM
Can you check if changing it to the followiing works for your system time?

Code:
if (dateString.match(/am|pm/i) || date.toString().match(/am|pm/i) || dateString.match(/a.m.|p.m./i) || date.toString().match(/a.m.|p.m./i)) {
matey
Offline

Junior Member

Canada
Posts: 2
Threads: 1
Joined: May 2023
#3
2023-05-29, 07:18 PM
Yes, it does fix it.
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,648
Threads: 767
Joined: Nov 2003
#4
2023-05-29, 07:24 PM
Ok thanks for the confirmation. I’ll include the change with the next build.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Time for upgrade greg in kansas 1 196 2025-05-06, 03:55 PM
Last Post: mvallevand
  How many IPTV streams should i be able to record at the same time? sharkbite 6 429 2025-03-27, 01:26 AM
Last Post: sharkbite
  Guide information not displaying on some channels three6zerocool 50 2,641 2025-01-19, 10:33 PM
Last Post: mvallevand
Thumbs Up Can I get the Web EPG to display up to 3/6 AM instead of 12 AM? ChaosMageX 1 197 2024-12-30, 03:16 PM
Last Post: sub
  V7 current time display gone in OSD artmetz 19 935 2024-12-12, 03:33 PM
Last Post: artmetz
  Tv Guide reports "no listing" markn62 18 2,071 2024-11-25, 09:09 AM
Last Post: mvallevand
  tv guide info same all channels tm003 14 648 2024-11-21, 08:31 PM
Last Post: mvallevand
  TV Guide Showing Duplicate Channels After IPTV Update Channels taylormia 27 1,849 2024-11-10, 12:24 AM
Last Post: sub
  Problem losing thumbnail display. Bobins 4 346 2024-11-09, 12:07 PM
Last Post: Bobins
  Issues with TV Guide in NPVR client Bobins 9 734 2024-11-08, 11:02 AM
Last Post: Bobins

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

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

Linear Mode
Threaded Mode