Skip to content

Commit

Permalink
minor fix and changelog date updated
Browse files Browse the repository at this point in the history
  • Loading branch information
alimuzzaman committed Nov 21, 2023
1 parent 98bd2e9 commit 90ea85d
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions includes/Admin/Settings/app/Settings/fields/Calendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Sidebar from "./Calendar/Sidebar";
// const events = [{ title: "Meeting", start: new Date() }];
import MonthPicker from "@compeon-os/monthpicker";
import { DayCellMountArg, EventContentArg, EventDropArg } from "@fullcalendar/core";
import { format, getSettings } from "@wordpress/date";
import { format, getSettings, __experimentalGetSettings } from "@wordpress/date";
import moment from 'moment';
import { __ } from "@wordpress/i18n";
import classNames from "classnames";
Expand Down Expand Up @@ -140,7 +140,7 @@ export default function Calendar(props) {
};

const schedule_time = builderContext?.values?.calendar_schedule_time || props.schedule_time;
const dateSettings = getSettings();
const dateSettings = (getSettings || __experimentalGetSettings)();


return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { format, __experimentalGetSettings as getSettings } from "@wordpress/date";
import { format, getSettings, __experimentalGetSettings } from "@wordpress/date";
import { Option } from "./types";


export const getTimeZone = () => {
const dateSettings = getSettings();
const dateSettings = (getSettings || __experimentalGetSettings)();
let timeZone = dateSettings.timezone.string;

if(!timeZone) {
Expand Down
2 changes: 1 addition & 1 deletion includes/Admin/Settings/assets/js/admin.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => '2e521e567962d5e272ad');
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-date', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => 'db3e98bb7faa563e5baf');
2 changes: 1 addition & 1 deletion includes/Admin/Settings/assets/js/admin.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion includes/Admin/Settings/assets/js/calendar.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-date', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-url'), 'version' => '3d1b47c1b1dc37759040');
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-date', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-url'), 'version' => 'a817ff1223e9a4a32578');
2 changes: 1 addition & 1 deletion includes/Admin/Settings/assets/js/calendar.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion languages/wp-scheduled-posts.pot
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2023-11-20T11:45:40+00:00\n"
"POT-Creation-Date: 2023-11-21T09:37:16+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.8.1\n"
"X-Domain: wp-scheduled-posts\n"
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ No, SchedulePress doesn’t require any additional plugin. All you have to do is

== Changelog ==

= 5.0.4 - 2023-11-20 =
= 5.0.4 - 2023-11-21 =
- Added: Post sharing limit for social media.
- Fixed: Conflict with Toolset, Divi, Surecart plugin
- Fixed: Twitter post sharing issue.
Expand Down

0 comments on commit 90ea85d

Please sign in to comment.