diff options
| author | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-06-07 02:10:58 +0300 |
|---|---|---|
| committer | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-06-07 02:10:58 +0300 |
| commit | c3574fcb263668189f9592ffc7505b944c49d1a8 (patch) | |
| tree | c5c38b0f7898ff2ab8e10fd13bcd66c4c227e6f7 /public/app/views/simple/lorem-dates.php | |
| parent | b6fea434ad2888de8dbc87d25ba0444c991d42d6 (diff) | |
| download | gyraf1gov-c3574fcb263668189f9592ffc7505b944c49d1a8.tar.gz gyraf1gov-c3574fcb263668189f9592ffc7505b944c49d1a8.tar.bz2 gyraf1gov-c3574fcb263668189f9592ffc7505b944c49d1a8.zip | |
self-host all needed libraries; get rid of unused files
Diffstat (limited to 'public/app/views/simple/lorem-dates.php')
| -rw-r--r-- | public/app/views/simple/lorem-dates.php | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/public/app/views/simple/lorem-dates.php b/public/app/views/simple/lorem-dates.php deleted file mode 100644 index 7a7c000..0000000 --- a/public/app/views/simple/lorem-dates.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php -function some_date() { - $dt = new DateTime(); - $dt->setTimestamp(time() - rand(0,30000)*1000 + rand(1,1000) ); - - // return time() - rand(0,30000)*1000 + rand(1,1000); - return $dt->format('Y-m-d H:i:s'); -} - - -include 'pythia.php'; - -$posts = $wiki->latest_posts(0, 900); - -foreach($posts as $post) { - $wiki->set_date($post['id'], some_date()); -} -echo "done!";
\ No newline at end of file |
