xaizek / rocketgit (License: AGPLv3+) (since 2018-12-09)
Light and fast Git hosting solution suitable to serve both as a hub or as a personal code storage with its tickets, pull requests, API and much more.
Commit 4c9eaa994fa1e2370812e49fe85742f00f51ee7b

Fix slave tables creation (year was incorrect
Author: Catalin(ux) M. BOIE
Author date (UTC): 2015-03-19 20:50
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2015-03-19 20:50
Parent(s): df91965df1900e161ae9641e03217671135cb97b
Signing key:
Tree: a1cc6652b2d7effd875f4e2187d4f67ebd6a34e4
File Lines added Lines deleted
inc/struct.inc.php 1 1
File inc/struct.inc.php changed (mode: 100644) (index 641cfc3..25a286e)
... ... function rg_sql_struct_slaves_update($db)
637 637 $month = gmdate("m", $last_ts) + 1; $month = gmdate("m", $last_ts) + 1;
638 638 $year = gmdate("Y", $last_ts); $year = gmdate("Y", $last_ts);
639 639 $ts = gmmktime(0, 0, 0, $month, 1, $year); $ts = gmmktime(0, 0, 0, $month, 1, $year);
640 $stop_ts = gmmktime(0, 0, 0, gmdate("m") + 1, 1, $year);
640 $stop_ts = gmmktime(0, 0, 0, gmdate("m") + 1, 1, gmdate("Y"));
641 641 while ($ts <= $stop_ts) { while ($ts <= $stop_ts) {
642 642 $month++; $month++;
643 643 $next_ts = gmmktime(0, 0, 0, $month, 1, $year); $next_ts = gmmktime(0, 0, 0, $month, 1, $year);
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/rocketgit

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/rocketgit

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master