~bibledit/bibledit/ubuntu-cloud

« back to all changes in this revision

Viewing changes to database/bibles.cpp

  • Committer: Teus Benschop
  • Date: 2022-08-30 18:42:32 UTC
  • Revision ID: teusjannette@gmail.com-20220830184232-a5bf5fkj14cqdx01
new upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
// It mimics Bibledit's native filesystem database directory structure.
63
63
string Database_Bibles::icfURL ()
64
64
{
65
 
  return "https://alkitabkita.info/pengolah-usfm-tsi-untuk-bibledit/usfm-hasil/";
 
65
  return "https://raw.githubusercontent.com/aranggitoar/pengolah-usfm-tsi-untuk-bibledit/main/usfm-hasil/";
66
66
}
67
67
 
68
68
 
215
215
  for (auto & book : books) {
216
216
    order.push_back (Database_Books::getOrderFromId (book));
217
217
  }
218
 
  quick_sort (order, books, 0, static_cast<int>(order.size()));
 
218
  quick_sort (order, books, 0, static_cast<unsigned>(order.size()));
219
219
 
220
220
  // Result.
221
221
  return books;
304
304
    string file = files [files.size() - 1];
305
305
    string path = filter_url_create_path ({folder, file});
306
306
    int time = filter_url_file_modification_time (path);
307
 
    int now = filter_date_seconds_since_epoch ();
 
307
    int now = filter::date::seconds_since_epoch ();
308
308
    return now - time;
309
309
  }
310
310
  return 100'000'000;