Personal Notes 3.1.8 Time Incorrect

Support für Extensions für phpBB 3.3.x von Entwickler OXPUS
Richard
Beiträge: 5
Registriert: Do 14. Jan 2021, 01:58

Personal Notes 3.1.8 Time Incorrect

Beitrag von Richard »

Hi there,

I've just installed this on a test forum today and it's a great extension but I seem to have an issue with the time settings. Instead of using the time of the user as set in the UCP it's using the server time instead?

I'd really like to use this extension but it's a little unusable, mainly the reminders can't be set in the user's local time.
Benutzeravatar
oxpus
Chief handy-man
Beiträge: 2630
Registriert: Do 13. Dez 2007, 23:06
Wohnort: Irgendwo im I-Net
Kontaktdaten:

Re: Personal Notes 3.1.8 Time Incorrect

Beitrag von oxpus »

Which timestamps do you mean?
The notes timestamp or the remembering times?
The notes timestamp are alltimes the current time and will be formatted while display the notes.
The notify times will be formatted as utc to store them in the database.
Karsten Ude
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Richard
Beiträge: 5
Registriert: Do 14. Jan 2021, 01:58

Re: Personal Notes 3.1.8 Time Incorrect

Beitrag von Richard »

Hi Karsten,

When I set a reminder the default time that appears is the servertime. Not my timezone UTC +10:30
Screenshot 2021-01-15 130918.jpg
Screenshot 2021-01-15 130918.jpg (83.7 KiB) 1436 mal betrachtet
When I save a note the timestamp is also the server time not my time as set in my UTC. The actual time here is 15/01/2021 1:11pm
Screenshot 2021-01-15 130939.jpg
Screenshot 2021-01-15 130939.jpg (46.52 KiB) 1436 mal betrachtet
Benutzeravatar
oxpus
Chief handy-man
Beiträge: 2630
Registriert: Do 13. Dez 2007, 23:06
Wohnort: Irgendwo im I-Net
Kontaktdaten:

Re: Personal Notes 3.1.8 Time Incorrect

Beitrag von oxpus »

Please try the attached file.
Upload this file decompressed into the folder /ext/oxpus/notes/controller/
Dateianhänge
main.zip
(5.3 KiB) 21-mal heruntergeladen
Karsten Ude
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Richard
Beiträge: 5
Registriert: Do 14. Jan 2021, 01:58

Re: Personal Notes 3.1.8 Time Incorrect

Beitrag von Richard »

Thanks Karsten, the posted time is now correct but the remember time is not correct and still looks to be using server time. I set the remember time to:
time_set.jpg
time_set.jpg (5.92 KiB) 1425 mal betrachtet
But the time I set must be server time still because when I post the note it changes to:
time_remember.jpg
time_remember.jpg (25.65 KiB) 1425 mal betrachtet
Benutzeravatar
oxpus
Chief handy-man
Beiträge: 2630
Registriert: Do 13. Dez 2007, 23:06
Wohnort: Irgendwo im I-Net
Kontaktdaten:

Re: Personal Notes 3.1.8 Time Incorrect

Beitrag von oxpus »

Next try:
main.zip
(5.29 KiB) 21-mal heruntergeladen
Karsten Ude
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Richard
Beiträge: 5
Registriert: Do 14. Jan 2021, 01:58

Re: Personal Notes 3.1.8 Time Incorrect

Beitrag von Richard »

Thanks for looking in to this Karsten but it still seems the time is wrong on the reminders.
new_note.jpg
new_note.jpg (118.25 KiB) 1420 mal betrachtet
Benutzeravatar
oxpus
Chief handy-man
Beiträge: 2630
Registriert: Do 13. Dez 2007, 23:06
Wohnort: Irgendwo im I-Net
Kontaktdaten:

Re: Personal Notes 3.1.8 Time Incorrect

Beitrag von oxpus »

I've update the complete extension so please test the attached one.
After disable and after replace it with the new package please purge the forum cache before testing it.
Dateianhänge
notes.zip
(38.97 KiB) 22-mal heruntergeladen
Karsten Ude
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
HermesRB
Beiträge: 2
Registriert: Do 14. Jan 2021, 18:20

Re: Personal Notes 3.1.8 Time Incorrect

Beitrag von HermesRB »

Hi, thank you for this awesome extension, we will love it in our team board! So, I had exactly the same issue like Richard. I felt free to test your submitted fix, and can confirm: it works! (at least for me, I hope for Richard too)


Thank you!


And I found another Issue: (I hope it's ok to post it here in this topic, if not - sorry)


If I write a new note that I want to be reminded of and I enter the date, I have 13 months to choose from. :lol: I wonder if this is because of my host or if nobody noticed it yet? See Screenshot:


Bildschirmfoto 2021-01-16 um 19.27.43.png
Bildschirmfoto 2021-01-16 um 19.27.43.png (176.14 KiB) 1415 mal betrachtet
Thank you so much for your work, bye
Benutzeravatar
oxpus
Chief handy-man
Beiträge: 2630
Registriert: Do 13. Dez 2007, 23:06
Wohnort: Irgendwo im I-Net
Kontaktdaten:

Re: Personal Notes 3.1.8 Time Incorrect

Beitrag von oxpus »

Thanks for your feedback.

I've now update the extension to release 3.1.9.
And with 12 not 13 months ;-)
Karsten Ude
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Antworten