Skip to content

Commit

Permalink
Merge pull request #116 from voynow/107-backend-remove-polars
Browse files Browse the repository at this point in the history
107 backend remove polars
  • Loading branch information
voynow authored Nov 5, 2024
2 parents 0ee56f7 + 902d9df commit 6573dd9
Show file tree
Hide file tree
Showing 17 changed files with 1,064 additions and 915 deletions.
4 changes: 2 additions & 2 deletions mobile/mobile.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.5;
MARKETING_VERSION = 1.6;
PRODUCT_BUNDLE_IDENTIFIER = voynow.mobile;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand Down Expand Up @@ -313,7 +313,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.5;
MARKETING_VERSION = 1.6;
PRODUCT_BUNDLE_IDENTIFIER = voynow.mobile;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
Expand Down
6 changes: 3 additions & 3 deletions mobile/mobile/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ struct WeekSummary: Codable {

var parsedWeekStartDate: Date? {
let formatter = DateFormatter()
formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss"
return formatter.date(from: weekStartDate)
formatter.dateFormat = "yyyy-MM-dd"
return formatter.date(from: weekStartDate.prefix(10).description)
}
}

Expand All @@ -182,4 +182,4 @@ enum AppStateStatus {
struct GenericResponse: Codable {
let success: Bool
let message: String?
}
}
2 changes: 1 addition & 1 deletion mobile/mobile/TrainingWeek.swift
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ struct MultiWeekProgressView: View {
let numberOfWeeks: Int

private var displayedSummaries: [WeekSummary] {
Array(weeklySummaries.prefix(numberOfWeeks).reversed())
Array(weeklySummaries.prefix(numberOfWeeks))
}

private var maxMileage: Double {
Expand Down
1,396 changes: 755 additions & 641 deletions poetry.lock

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "strava"
name = "trackflow"
version = "0.1.0"
description = ""
authors = ["voynow <voynow99@gmail.com>"]
Expand All @@ -14,7 +14,6 @@ python = "^3.10"
stravalib = "^v1.7"
supabase = "*"
python-dotenv = "^1.0.1"
polars = "^0.20.31"
urllib3 = "2.2.2"
openai = "1.39.0"
sib-api-v3-sdk = "^7.6.0"
Expand Down
Loading

0 comments on commit 6573dd9

Please sign in to comment.