Fix media with no taken On info
This commit is contained in:
10
inc/Spot.php
10
inc/Spot.php
@@ -10,20 +10,24 @@ use \Settings;
|
||||
|
||||
/* Timezones
|
||||
* ---------
|
||||
* Site Time: Time Zone in which the User is viewing the Site (default PHP/SQL Timezone)
|
||||
* Local Time: Time Zone in which the Spot Owner is
|
||||
* Site Time: Timestamp converted to the Timezone from which the user is viewing the Site (default PHP/SQL Timezone)
|
||||
* Local Time: Timestamp converted to the Timezone from which the content (media/post/message) has been sent (Local Timezone stored in timezone field)
|
||||
*
|
||||
* - Feeds (table `feeds`):
|
||||
* - last_update: timestamp in Site Time
|
||||
* - Spot Messages (table `messages`):
|
||||
* - unix_time: UNIX (int) in UTC
|
||||
* - site_time: timestamp in Site Time
|
||||
* - iso_time: raw ISO 8601 in Local Time
|
||||
* - iso_time: raw ISO 8601 in UTC or Local Time (spot messages are unreliable, timezone is then calculated from GPS coordinates)
|
||||
* - posted_on: timestamp in Site Time
|
||||
* - timezone: Local Timezone
|
||||
* - Medias (table `medias`):
|
||||
* - posted_on: timestamp in Site Time
|
||||
* - taken_on: timestamp in Site Time
|
||||
* - timezone: Local Timezone
|
||||
* - Posts (table `posts`):
|
||||
* - site_time: timestamp in Site Time
|
||||
* - timezone: Local Timezone
|
||||
*/
|
||||
|
||||
class Spot extends Main
|
||||
|
||||
Reference in New Issue
Block a user