FIXED! Blog timestamps problem (and more)

KleinesSinchen

GBAtemp's Backup Reminder + Fearless Testing Sina
OP
Member
GBAtemp Patron
Joined
Mar 28, 2018
Messages
4,443
Trophies
2
XP
14,901
Country
Germany
Strange behavior concerning blogs:
Today I wanted to publish a new entry in my blog. Instead of being available right away, it was scheduled for one hour in the future – and had some files attached I didn't upload myself. When trying to remove the files with the edit function the permission was denied.
After an hour, when the entry was online, I was allowed to remove the attachments. Maybe this was a mistake: @Chary told me in a profile message that she could not find anything concerning attachments with the moderation tools. Maybe I should have left the strange attachments.

In addition to that odd behavior my entry was "pinned" at the top of "New Content" because the timestamp was another hour in the future. Fixing a typo later yet again put the entry at the top of the list (I'm sorry for that). And this scheduling, timestamp and attachment problem happened with a blog entry by @Cyan – who was smarter than me and did not remove the picture.

Screenshot2.png Screenshot1.png

Compare my local time in the screenshot (14:51, 2:51pm) with the timestamp saying last comment in the entry is today 7:00pm)

The thing with one hour in the future makes me think of daylight saving time; no idea about the even greater difference.
 
Last edited by KleinesSinchen,
  • Like
Reactions: Julie_Pilgrim

smileyhead

I like cute stuff.
Member
Joined
Aug 31, 2015
Messages
4,804
Trophies
3
Age
23
Location
Budakeszi, Hungary
Website
sites.google.com
XP
10,591
Country
Hungary
I posted this blog entry to see what would happen and I can confirm the anomaly.
The image doesn't seem to have any metadata, but based on its filename, tomorrow should be its first anniversary of being taken (2020. 03. 29. 14:51:37).
 

tj_cool

Site dev
Supervisor
Joined
Jan 7, 2009
Messages
10,064
Trophies
2
Location
This planet
XP
3,105
Country
Belgium
Looks like the blogs addon that we use made a bit of a mess internally.

Both of these problems were related to the scheduling system that the addon has.
I've disabled the scheduler internally now, since we are not even using that feature. This means entries should no longer appear in the future (which was likely a DST issue).
The attachments that appeared out of seemingly nowhere were linked to scheduled entries that are no longer there, but the IDs got messed up along the way, meaning they would be added to newly created scheduled entries instead. You can safely remove these attachments.

Let me know if you still experience any problems.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    For your steam deck ken?
  • Psionic Roshambo @ Psionic Roshambo:
    If just for PC I would recommend an external hard drive like 2 TB and just build your own bootable drive
  • Psionic Roshambo @ Psionic Roshambo:
    Although even if it's the steam deck and a 1TB MicroSD I would still recommend building it yourself.... Almost all the builds I tried just sucked
  • K3Nv2 @ K3Nv2:
    Yeah but why not just have a img file mounted through us you can still transfer through windows
  • K3Nv2 @ K3Nv2:
    Usb*
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah Batocera has a shared folder it's pretty cool
  • K3Nv2 @ K3Nv2:
    Less clutter for all the 6 usb options we never use
  • Psionic Roshambo @ Psionic Roshambo:
    Just drag and drop your Barbie Roms
  • Psionic Roshambo @ Psionic Roshambo:
    Barbies BDSM Dungeon Adventure Featuring Gimp Ken!
  • K3Nv2 @ K3Nv2:
    It's the Florida meth
  • Psionic Roshambo @ Psionic Roshambo:
    Don't make Barbie put a cigarette out on your nipples!
  • K3Nv2 @ K3Nv2:
    Although expensive Florida meth can rot the brightest of minds
    +1
  • K3Nv2 @ K3Nv2:
    lol qbits almost taking a
    full gb of ram usage
    +1
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, qbittorrent?
  • K3Nv2 @ K3Nv2:
    no I dont torrent
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, then whats qbits?
  • K3Nv2 @ K3Nv2:
    A type of fish
  • Xdqwerty @ Xdqwerty:
    gonna do my homework
  • Xdqwerty @ Xdqwerty:
    see ya
  • K3Nv2 @ K3Nv2:
    Man steams only downloading 15mbps
  • Xdqwerty @ Xdqwerty:
    back
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, wdym thats quite fast
  • Psionic Roshambo @ Psionic Roshambo:
    Just upgraded to 1Gbps Internet, it was cheaper than the other company by a few bucks lol
    Psionic Roshambo @ Psionic Roshambo: Just upgraded to 1Gbps Internet, it was cheaper than the other company by a few bucks lol