Skip to content

Commit 4f2d830

Browse files
committed
deploy: 606b7d0
1 parent a2ba52d commit 4f2d830

File tree

146 files changed

+7339
-9023
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+7339
-9023
lines changed

appConfig.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ window.AppConfig = {
2626
"app_notification_url": "assets/notifications/dev/",
2727
"app_update_url": "https://updates.phcode.io/tauri/update-latest-experimental-build.json",
2828
"linting.enabled_by_default": true,
29-
"build_timestamp": "2025-01-15T05:32:26.059Z",
29+
"build_timestamp": "2025-01-15T12:42:21.738Z",
3030
"googleAnalyticsID": "G-P4HJFPDB76",
3131
"googleAnalyticsIDDesktop": "G-VE5BXWJ0HF",
3232
"mixPanelID": "49c4d164b592be2350fc7af06a259bf3",
@@ -38,7 +38,7 @@ window.AppConfig = {
3838
"bugsnagEnv": "development"
3939
},
4040
"name": "Phoenix Code",
41-
"version": "4.0.0-20810",
41+
"version": "4.0.0-20813",
4242
"apiVersion": "4.0.0",
4343
"homepage": "https://core.ai",
4444
"issues": {

assets/default-project/en.zip

0 Bytes
Binary file not shown.

assets/sample-projects/HTML5.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

assets/sample-projects/explore.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

brackets-min.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157115,11 +157115,12 @@ define("utils/LocalizationUtils", function (require, exports, module) {
157115157115
*
157116157116
* @param {Date} date - The date to compare and format.
157117157117
* @param {string} [lang] - Optional language code to use for formatting (e.g., 'en', 'fr').
157118+
* @param {Date} [fromDate] - Optional date to use instead of now to compute the relative dateTime from.
157118157119
* @returns {string} - An intelligently formatted date string.
157119157120
*/
157120-
function dateTimeFromNowFriendly(date, lang) {
157121-
const now = new Date();
157122-
const diffInMilliseconds = date - now;
157121+
function dateTimeFromNowFriendly(date, lang, fromDate) {
157122+
fromDate = fromDate || new Date();
157123+
const diffInMilliseconds = date - fromDate;
157123157124
const diffInDays = Math.trunc(diffInMilliseconds / (1000 * 60 * 60 * 24));
157124157125

157125157126
// If within the last 30 days or the future, use relative time
@@ -157128,7 +157129,7 @@ define("utils/LocalizationUtils", function (require, exports, module) {
157128157129
}
157129157130

157130157131
// If in the current year, format as "MMM DD"
157131-
const currentYear = now.getFullYear();
157132+
const currentYear = fromDate.getFullYear();
157132157133
const dateYear = date.getFullYear();
157133157134

157134157135
const languageOption = [lang || brackets.getLocale() || "en", "en"];

cacheManifest.json

Lines changed: 22 additions & 33 deletions
Large diffs are not rendered by default.

config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"app_notification_url": "assets/notifications/dev/",
2626
"app_update_url": "https://updates.phcode.io/tauri/update-latest-experimental-build.json",
2727
"linting.enabled_by_default": true,
28-
"build_timestamp": "2025-01-15T05:32:26.059Z",
28+
"build_timestamp": "2025-01-15T12:42:21.738Z",
2929
"googleAnalyticsID": "G-P4HJFPDB76",
3030
"googleAnalyticsIDDesktop": "G-VE5BXWJ0HF",
3131
"mixPanelID": "49c4d164b592be2350fc7af06a259bf3",
@@ -37,7 +37,7 @@
3737
"bugsnagEnv": "development"
3838
},
3939
"name": "Phoenix Code",
40-
"version": "4.0.0-20810",
40+
"version": "4.0.0-20813",
4141
"apiVersion": "4.0.0",
4242
"homepage": "https://core.ai",
4343
"issues": {

0 commit comments

Comments
 (0)