Ticket #321 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Timestamps on jobstart are 2 hours off

Reported by: Michiel.Schok Owned by:
Priority: major Milestone: MediaMosa 2.1
Component: Core Version: 2.1.5
Keywords: Cc:
MoSCoW: none Estimated time after impact analysis:
Related to project: none Tested: yes
Accepted: yes Estimated Hours: 0

Description

The timestamps (<started> and <started_unix>) in the /asset/{id}/joblist and /job/{id}/status are 2 hours off.

Transcoding jobs that started at 06:50 are given at 08:50.
Strange results in SURFmedia: 'your transcoding started -7000 seconds ago'. We do the math according to the unix_timestamp.

Change History

Changed 3 years ago by Frans

  • milestone changed from MediaMosa 2.1 to MediaMosa 2.2

Moved to MediaMosa 2.2
(we'll close the MM 2.1 release)

Changed 3 years ago by Michiel.Schok

Example:
A job started at about 06:52 local time (summertime, 2 hours from UTC) is listed as unixtime stamp '1277275922'. That number converts to 06:52:02 GMT (see  http://www.onlineconversion.com/unix_time.htm), and thus 08:52:02 CEST (real time in Amsterdam).

Changed 3 years ago by Frans

Appologies for the dutch....

op 17 juni kregen wij het volgende antwoord op de eerste testen van 2.1.4 met SURFmedia:

----8<-----

    * de timestamp in de jobstatus bij het starten van een transcoding
      wijkt iets van ruim 7000 seconden af van de werkelijke tijd. Heeft
      dat te maken met de 2uur offset, of loopt de tijd niet juist op de
      server?

Scherp gezien, dit gaat alleen nog mis bij het zetten van de jobstatus.
Hiervoor is een 1-regel fix nodig.
------->8-----

A one-line fix doesn't sounds to bad ;-)

Changed 3 years ago by MC-arjen

  • status changed from new to closed
  • version set to 2.1.5
  • resolution set to fixed
  • milestone changed from MediaMosa 2.2 to MediaMosa 2.1

The job started field is now stored as a UTC date (not really a one line fix though). Released in 2.1.5.

Changed 3 years ago by Frans

  • tested changed from no to yes
  • accepted changed from no to yes

Fine!
Accepted

Note: See TracTickets for help on using tickets.