Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/db #66

Open
wants to merge 5,963 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
5963 commits
Select commit Hold shift + click to select a range
a3f6e07
Merge branch 'feat/db' into refactor/tag-as-type
tiensonqin Dec 24, 2024
48cb4d2
fix: unresolved conflict
tiensonqin Dec 24, 2024
fbefade
Merge pull request #11634 from logseq/refactor/tag-as-type
tiensonqin Dec 24, 2024
b9e6f08
Merge branch 'feat/db' into feat/repeated-tasks
tiensonqin Dec 24, 2024
714d61b
fix: tests
tiensonqin Dec 24, 2024
9c2e833
fix: lint
tiensonqin Dec 24, 2024
b107525
fix: lint
tiensonqin Dec 24, 2024
9e32708
enhance: add 59s delay for overdue
tiensonqin Dec 24, 2024
8865b7c
enhance: able to set checkbox mapping state for block
tiensonqin Dec 24, 2024
90c4d5e
enhance(plugin): plugin settings persistence for web platform
xyhp915 Dec 24, 2024
898e1ff
Merge branch 'feat/db' into enhance/plugin-web
xyhp915 Dec 25, 2024
558ac34
fix(plugin): resolve ls dotdir root
xyhp915 Dec 25, 2024
60c9b7c
fix: demo page crash
tiensonqin Dec 25, 2024
bee0e27
fix: tests
tiensonqin Dec 25, 2024
65eed7a
fix: db migrate
tiensonqin Dec 25, 2024
68b8f2d
Merge branch 'feat/db' into enhance/plugin-web
xyhp915 Dec 25, 2024
a47db0c
enhance: display error stack when it's caught by UI
tiensonqin Dec 25, 2024
a464999
fix: test
tiensonqin Dec 25, 2024
e8732f9
enhance(plugin): WIP install plugin from web
xyhp915 Dec 25, 2024
0253ae6
enhance: tagged node properties configuration
tiensonqin Dec 25, 2024
b30bc6d
enhance: display row id for table view
tiensonqin Dec 25, 2024
1af1c14
enhance(plugin): WIP install plugin from web
xyhp915 Dec 25, 2024
5c62903
enhance(plugins): persistance strategy for the installed web plugins
xyhp915 Dec 25, 2024
f72ec58
feat: select to delete rows from query result
tiensonqin Dec 25, 2024
307e4e7
Merge branch 'feat/db' into feat/repeated-tasks
tiensonqin Dec 25, 2024
777454e
enhance: set default scheduled on property to status
tiensonqin Dec 25, 2024
780b200
fix: scheduled using local timezone
tiensonqin Dec 25, 2024
cb33edd
fix: test
tiensonqin Dec 25, 2024
5d9e4b6
enhance: overdue style tweaks
tiensonqin Dec 25, 2024
5efcc0e
enhance: enable repeated tasks for :date properties too
tiensonqin Dec 25, 2024
37dbfae
Merge branch 'feat/db' into enhance/plugin-web
xyhp915 Dec 26, 2024
e514e02
bump nbb-logseq
tiensonqin Dec 26, 2024
d3b68f1
enhance(plugins): simplify state for the installed web plugins
xyhp915 Dec 26, 2024
dbcbb65
chore: rename reschedule-property to scheduled-on-property
tiensonqin Dec 26, 2024
1997099
enhance: add repeat icon before date value
tiensonqin Dec 26, 2024
559443e
enhance(rtc): support :profile for api-calls
RCmerci Dec 26, 2024
42c3ddc
fix: apply overdue style only for scheduled/deadline and recur task
tiensonqin Dec 26, 2024
cb72ca8
enhance: improve repeated task condition word
tiensonqin Dec 26, 2024
cdd4ccf
refactor: update deadline to :datetime type
tiensonqin Dec 26, 2024
4c5d453
fix: timezone issue
tiensonqin Dec 26, 2024
704ae4d
fix: tests
tiensonqin Dec 26, 2024
dc6b2a5
chore: revert db version to number from epoch
tiensonqin Dec 26, 2024
f888e16
chore: disable deadline tests because CI local time could be changed
tiensonqin Dec 26, 2024
7175b2c
fix: keep weekday/month/day for year/month/week unit
tiensonqin Dec 26, 2024
59b53c1
fix: wrong refs from datetime properties
tiensonqin Dec 26, 2024
41f878c
fix lint
RCmerci Dec 27, 2024
f510ffc
fix: scheduled and deadline query
tiensonqin Dec 27, 2024
d36f1c3
perf: cache d/entity result for immutable entities
RCmerci Dec 27, 2024
8e07bea
perf: cache d/entity result for immutable entities (2)
RCmerci Dec 27, 2024
2316618
enhance(plugin): add load events
xyhp915 Dec 28, 2024
ca03681
enhance(plugin): unlink plugins for web
xyhp915 Dec 28, 2024
91ef984
Merge branch 'feat/db' into enhance/plugin-web
xyhp915 Dec 28, 2024
525651b
enhance(plugin): conditions for the plugins dots menu
xyhp915 Dec 28, 2024
26e2fad
fix: move missionary_util to deps/common, fix some deps issue
RCmerci Dec 28, 2024
f7815b4
fix: nbb test
RCmerci Dec 28, 2024
70777ea
fix: deps/ test
RCmerci Dec 28, 2024
a82d4ba
fix: db/entid not found in nbb
RCmerci Dec 28, 2024
accc122
Merge branch 'feat/db' into enhance/plugin-web
xyhp915 Dec 28, 2024
58c136b
fix(plugin): persist user shortcuts
xyhp915 Dec 28, 2024
9ce4bbc
enhance(plugin): plugin settings for web lsp
xyhp915 Dec 28, 2024
4ad4019
perf: faster has-tag?
RCmerci Dec 28, 2024
201a18f
fix: has-tag? need nbb compatible
RCmerci Dec 29, 2024
c2bb6eb
fix lint
RCmerci Dec 29, 2024
23b97bd
fix: broken db
tiensonqin Dec 29, 2024
665207d
feat: import && export graph datoms transit
tiensonqin Dec 29, 2024
5a374c9
fix: don't cache nil as seen immutable entities
tiensonqin Dec 29, 2024
6b8f1d8
chore(dev): use React development libs for the watch mode
xyhp915 Dec 29, 2024
6473482
Merge branch 'feat/db' into feat/repeated-tasks
tiensonqin Dec 29, 2024
7960fbe
enhance: mark time as select-none
tiensonqin Dec 29, 2024
bf1fe27
instrument: report errors to sentry when kvs are missing
tiensonqin Dec 29, 2024
fe5ba4f
enhance: update entity-memoized
RCmerci Dec 29, 2024
eb2d0be
Merge branch 'feat/db' into enhance/plugin-web
xyhp915 Dec 29, 2024
7d27651
fix(plugin): persist theme mode for web theme
xyhp915 Dec 29, 2024
b3ebdb8
dev: cljfmt config add :sort-ns-references?
RCmerci Dec 29, 2024
8a5e648
enhance(plugin): disable effect plugins for the web Marketplace
xyhp915 Dec 29, 2024
eba8e78
fix(plugin): validate options for the palette command
xyhp915 Dec 29, 2024
bc362c3
suggestions from zhiyuan
tiensonqin Dec 29, 2024
1d0f6a7
fix: skip running commands when undo/redo
tiensonqin Dec 29, 2024
eff34e4
fix: don't run commands for rtc transaction
tiensonqin Dec 29, 2024
0856030
Merge branch 'feat/db' into feat/repeated-tasks
tiensonqin Dec 29, 2024
ceb8849
Merge pull request #11654 from logseq/feat/repeated-tasks
tiensonqin Dec 29, 2024
972e6e6
fix: save current block before opening date picker
tiensonqin Dec 29, 2024
985365a
fix: ensure built-in data exists
tiensonqin Dec 30, 2024
c75efab
fix: react key warning
tiensonqin Dec 30, 2024
659d64c
fix: handle asset type
tiensonqin Dec 30, 2024
dd29499
fix: react key warnings
tiensonqin Dec 30, 2024
7425e01
fix(ux): don't stop propagation for the pointer down event on the fol…
xyhp915 Dec 30, 2024
a5f5f19
Merge branch 'feat/db' into enhance/plugin-web
xyhp915 Dec 30, 2024
1760161
fix: set class scope when using class as property
tiensonqin Dec 30, 2024
deb14ed
feat: dev validate db
tiensonqin Dec 30, 2024
87906fb
fix: lint
tiensonqin Dec 30, 2024
b9a7950
fix(plugin): parse empty repo config
xyhp915 Dec 30, 2024
49227f4
enhance(plugin): ignore save package json for the web plugin
xyhp915 Dec 30, 2024
208ca93
refactor(plugin): names
xyhp915 Dec 30, 2024
109e91b
enhance(plugin): check updates for the web plugins
xyhp915 Dec 30, 2024
15f7b9c
chore(plugin): build libs core
xyhp915 Dec 30, 2024
72bf709
fix(plugin): invalid readme for the web plugin
xyhp915 Dec 30, 2024
aceaf0c
Merge branch 'feat/db' into enhance/plugin-web
xyhp915 Dec 30, 2024
4a732ba
chore: fix lint
xyhp915 Dec 31, 2024
be54a9c
chore: fix lint
xyhp915 Dec 31, 2024
6e1f511
chore: fix lint
xyhp915 Dec 31, 2024
91f3dc3
chore(dev): react keys warnings
xyhp915 Dec 31, 2024
4bcda99
enhance(rum): adapt react class for the component friendly keys warning
xyhp915 Dec 31, 2024
a2b0afb
chore(dev): fix react warnings
xyhp915 Jan 1, 2025
961e009
fix: migrate should prefer existing value
tiensonqin Jan 2, 2025
8ce12ce
fix: db migrate
tiensonqin Jan 2, 2025
c6d9f33
fix: react warning
tiensonqin Jan 2, 2025
6030ae1
fix: mark hash tag symbol as select-none
tiensonqin Jan 2, 2025
6773542
Merge branch 'feat/db' into enhance/plugin-web
xyhp915 Jan 2, 2025
0eb7666
enhance(plugin): persist updates state for the web plugin
xyhp915 Jan 2, 2025
a30c2ca
fix: update deadline to be type of :datetime
tiensonqin Jan 2, 2025
3d42cf7
fix: bump nbb-logseq so that nbb scripts
logseq-cldwalker Jan 2, 2025
b7723db
fix: importer importing some pages as both Tag and Page
logseq-cldwalker Jan 2, 2025
bc9aa08
fix: case sensitive tag creation broken by previous commit
logseq-cldwalker Jan 2, 2025
ff01282
Merge branch 'feat/db' into enhance/plugin-web
xyhp915 Jan 3, 2025
6ef1b84
enhance(plugins): load web plugins asynchronously
xyhp915 Jan 3, 2025
dd17560
refactor: add clojure.string to :consistent-alias in kondo-config
RCmerci Jan 3, 2025
b65a2d5
refactor: consistent alias of clojure.string
RCmerci Jan 3, 2025
28cfdf6
feat: add profiler(dev) rightside-tab (#11668)
RCmerci Jan 3, 2025
df41e8b
fix: file content being overwritten when running db migration
tiensonqin Jan 3, 2025
9b282d6
Merge branch 'feat/db' into enhance/plugin-web
tiensonqin Jan 3, 2025
28ae59d
Merge pull request #11664 from logseq/enhance/plugin-web
tiensonqin Jan 3, 2025
f802941
enhance: backup notice when the graph hasn't been updated
tiensonqin Jan 3, 2025
e1c9641
perf: refactor frontend.db.react/remove-query-component!
RCmerci Jan 3, 2025
d7e7924
fix(plugin): missing scripts
xyhp915 Jan 3, 2025
59d31c9
Merge branch 'feat/db' of https://github.com/logseq/logseq into feat/db
xyhp915 Jan 3, 2025
d9d9d26
fix: tweak file-block schema for migrations
logseq-cldwalker Jan 3, 2025
17ee522
fix: date label
tiensonqin Jan 3, 2025
01b40b4
enhance: show Tag and Property classes in page header
logseq-cldwalker Jan 3, 2025
2c8aaed
fix: don't allow deletion of built-in class objects or property
logseq-cldwalker Jan 3, 2025
d1748a1
fix: deleting built-in blocks from queries
logseq-cldwalker Jan 3, 2025
0b87c36
chore: remove unused deps from common
logseq-cldwalker Jan 3, 2025
96c1cc5
fix: unstable deadline tests for exporter
logseq-cldwalker Jan 3, 2025
4a0f279
fix: date time from different timezones
tiensonqin Jan 4, 2025
f7e150b
enhance(plugin): add web flag for the marketplace plugin
xyhp915 Jan 4, 2025
1bba10c
fix: graph counts after validation are wrong
logseq-cldwalker Jan 4, 2025
7101a59
fix(plugin): incorrect file path for the plugin dots settings
xyhp915 Jan 4, 2025
b24ad28
feat: time tracking (#11666)
tiensonqin Jan 5, 2025
8a0a051
refactor: remove :block/format for db graphs (#11667)
tiensonqin Jan 5, 2025
c6a222e
enhance: set font-normal for time spent
tiensonqin Jan 5, 2025
caa9d4c
chore(dev): react key warnings
xyhp915 Jan 5, 2025
f28d344
fix(apis): create page for journals
xyhp915 Jan 6, 2025
87e01f1
enhance(apis): add types
xyhp915 Jan 6, 2025
25adb80
enhance(plugin): app proxy call
xyhp915 Jan 6, 2025
d504ba3
chore(libs): bump version
xyhp915 Jan 6, 2025
a45da56
fix: pprint/pprint not always work for validate errors
tiensonqin Jan 6, 2025
883293a
fix: prefer db/id instead of entity for use-effect deps
tiensonqin Jan 6, 2025
60d2d46
fix: can't change checked or unchecked choice to another one
logseq-cldwalker Jan 6, 2025
7c0e5b5
fix: Don't mention 'task' for repeating properties that have nothing …
logseq-cldwalker Jan 6, 2025
5c27b47
fix: wrong :block/title data
tiensonqin Jan 7, 2025
9b86f07
fix: don't re-create contents page when migrating db
tiensonqin Jan 7, 2025
800e30c
fix: remove duplicated contents page
tiensonqin Jan 7, 2025
f7f3963
fix: file-sync dialog when switching graphs
tiensonqin Jan 7, 2025
c1f9368
enhance(plugin): load plugin from web url for debug
xyhp915 Jan 7, 2025
890a06f
enhance(plugin): install plugin from web url
xyhp915 Jan 7, 2025
2750250
chore(libs): build libs core
xyhp915 Jan 7, 2025
e522c73
fix: Task doesn't repeat with a user :date property
tiensonqin Jan 7, 2025
6be1d0c
fix lint
RCmerci Jan 7, 2025
e9a5235
chore: use gfun/debounce as util/debounce
tiensonqin Jan 7, 2025
fd0bc93
refactor: make react hooks compatible with cljs builtin types
RCmerci Jan 7, 2025
5d8f176
refactor: replace rum/use-memo
RCmerci Jan 7, 2025
172261f
refactor: replace rum/use-layout-effect!
RCmerci Jan 7, 2025
693fa3a
refactor: add use-debounced-value hook
RCmerci Jan 7, 2025
6176d5d
refactor: replace rum/use-callback
RCmerci Jan 7, 2025
2248e5e
chore: fix lint
RCmerci Jan 7, 2025
051cada
refactor: add memo-deps to wrap hook-deps
RCmerci Jan 7, 2025
cdbe7b2
fix: forget to add scheduled to #Task
tiensonqin Jan 7, 2025
6518fd9
Merge pull request #11674 from logseq/refactor/custom-react-hooks
RCmerci Jan 7, 2025
a91d1d9
fix: db test
logseq-cldwalker Jan 7, 2025
671bc93
fix: describe table header which confused me and another user
logseq-cldwalker Jan 7, 2025
9050b88
fix: node level property config mixed with property-level config
logseq-cldwalker Jan 7, 2025
5ac24ab
fix: property history schema not specifying used properties
logseq-cldwalker Jan 7, 2025
cf4de2f
chore: update lint to check for two very common db namespaces
logseq-cldwalker Jan 7, 2025
c6f3eb6
fix: history/scalar-value schema
logseq-cldwalker Jan 7, 2025
8e2f0c9
fix: property history still exists when property is deleted
logseq-cldwalker Jan 7, 2025
b2a3559
chore: add block/format to file linter
logseq-cldwalker Jan 7, 2025
cadb002
fix: exporter :datetime tests failing locally
logseq-cldwalker Jan 7, 2025
1110e81
chore(dev): remove debug
xyhp915 Jan 8, 2025
d0cd4c2
enhance(plugin): auto updates for web plugins
xyhp915 Jan 8, 2025
6105476
refactor: replace all rum/use-effect!, add kondo :discouraged-var config
RCmerci Jan 8, 2025
73e51a8
refactor: split rtc malli-schema into its own ns
RCmerci Jan 8, 2025
e7bb904
chore(libs): build libs core
xyhp915 Jan 8, 2025
f5ffcf1
chore: update docstring of defkeyword
RCmerci Jan 8, 2025
7b9ae93
enhance: add logseq.common.defkeywords
RCmerci Jan 8, 2025
8470da1
enhance: defkeywords all built-in-properties
RCmerci Jan 8, 2025
9092481
fix: common lints
logseq-cldwalker Jan 8, 2025
b44d644
fix: deps tests failing to run due to missing var
logseq-cldwalker Jan 8, 2025
0db34bc
fix: debug check failing importer
logseq-cldwalker Jan 8, 2025
e8659d6
fix: remove unused check in class?
logseq-cldwalker Jan 8, 2025
4a245b5
fix: opening new page in sidebar and clicking first block
logseq-cldwalker Jan 8, 2025
e0b5dac
fix: can't create page with tag from cmd-k
logseq-cldwalker Jan 8, 2025
e83cb0f
enhance(apis): empty page name crash for the push state
xyhp915 Jan 9, 2025
72c09e5
enhance(libs): types
xyhp915 Jan 9, 2025
99998e2
enhance(libs): utils apis
xyhp915 Jan 9, 2025
9db946c
enhance: apply defkeywords to built-in classes, add some rtc related …
RCmerci Jan 9, 2025
3a43a81
enhance(rtc): client-ops generator ignore attrs if possible
RCmerci Jan 9, 2025
0fa7da9
fix(rtc): fix export-as-blocks when ignore-attr-set not nil
RCmerci Jan 9, 2025
68f758c
fix: invalid data
tiensonqin Jan 9, 2025
6971475
fix: importer fails to find classes with property-parent-classes option
logseq-cldwalker Jan 9, 2025
b8c569f
fix: importer failing and invalid on two page to class conversion cases
logseq-cldwalker Jan 10, 2025
72b736a
enhance(rtc): don't generate update-op if only :block/updated-at changed
RCmerci Jan 10, 2025
7e9edac
dev: parse-long redefine warning when compile test
RCmerci Jan 10, 2025
1c5761e
enhance(rtc): ignore entities if possible when init upload/download
RCmerci Jan 10, 2025
ccefc2b
fix(apis): missing exports
xyhp915 Jan 10, 2025
b113967
enhance(dev): cli validation includes dispatch key
logseq-cldwalker Jan 10, 2025
18f2bd6
fix: validator incorrectly identifying hidden blocks
logseq-cldwalker Jan 10, 2025
1adeaa3
fix: migrate command throwing 'Unserializable return value' error
logseq-cldwalker Jan 10, 2025
25d1243
chore: update docstrings in kv-entity
logseq-cldwalker Jan 10, 2025
5ccb11a
fix(regression): Can't distinguish between page and class properties
logseq-cldwalker Jan 10, 2025
2782eea
enhance(dev): CLI import prints last tx
logseq-cldwalker Jan 10, 2025
0cffd64
fix: importer failing hard on page ref when
logseq-cldwalker Jan 10, 2025
4d0fbe1
fix(pdf): incorrect styles for the external window pdf viewer
xyhp915 Jan 11, 2025
9764646
enhance: profiler now support multi-arity & variadic fns
RCmerci Jan 12, 2025
f485eee
enhance: add prop :logseq.property/created-by
RCmerci Jan 12, 2025
18d4afa
fix: profile multi-arity fns
RCmerci Jan 12, 2025
ba9b84c
fix(e2e): plugin apis related tests
xyhp915 Jan 13, 2025
c90ab6c
fix(e2e): properties related apis
xyhp915 Jan 13, 2025
1ab6210
enhance: importer displays one notification about ignored files
logseq-cldwalker Jan 13, 2025
86807f5
fix: frontend lint
logseq-cldwalker Jan 13, 2025
63eaacd
enhance(dev): import cli and tests print original error's ex-data
logseq-cldwalker Jan 13, 2025
c87da72
enhance: allow a tag to be converted back to a page
logseq-cldwalker Jan 13, 2025
b3d6744
enhance(ui): broken line for the datetime label
xyhp915 Jan 14, 2025
8d778aa
enhance(api): upsert/get property entity with caller key from the plu…
xyhp915 Jan 14, 2025
685e825
chore: remove prn
RCmerci Jan 14, 2025
3e025dd
enhance: add created-by prop to blocks
RCmerci Jan 14, 2025
22fcaa2
chore: update docstring
RCmerci Jan 14, 2025
0b7c9b4
chore(dev): patch console error for React
xyhp915 Jan 14, 2025
ac3b643
chore(dev): react key warnings
xyhp915 Jan 14, 2025
9224df5
enhance(apis): add remove property & types
xyhp915 Jan 14, 2025
03592a2
chore: typo
xyhp915 Jan 14, 2025
2a4f49e
enhance: importer can import :logseq.task/scheduled
logseq-cldwalker Jan 14, 2025
04aa88b
fix: importer fails when misconfigure journal ref is a property value
logseq-cldwalker Jan 14, 2025
d14c439
chore: update comment
RCmerci Jan 14, 2025
029a3e0
enhance(apis): property prefix for the block property key
xyhp915 Jan 15, 2025
1d9fbc8
perf: reduce :block/properties calls on db graphs
tiensonqin Jan 15, 2025
bd96226
fix: lint
tiensonqin Jan 15, 2025
ab6abef
fix(apis): sanitize property key from the plugin id
xyhp915 Jan 15, 2025
a2609f4
enhance: Allow built-in properties to use most properties
logseq-cldwalker Jan 15, 2025
769e68a
enhance(dev): add :dispatch-key to validate-db! errors
logseq-cldwalker Jan 15, 2025
cd4d675
fix(e2e-tests): api related tests
xyhp915 Jan 16, 2025
e61f046
fix: publishing failing to load on undefined LSPluginCore
logseq-cldwalker Jan 16, 2025
27a8ec6
fix: publishing failing to load
logseq-cldwalker Jan 16, 2025
fb5dbaa
fix(regression): multiple ways to edit property config when published
logseq-cldwalker Jan 16, 2025
7e89dd3
fix: don't initialize rtc components in publishing
logseq-cldwalker Jan 16, 2025
a15a9e1
enhance(plugin): install plugin from Github releases for development …
xyhp915 Jan 17, 2025
7cda45e
fix: migration
tiensonqin Jan 17, 2025
fdfcc4f
fix: public publishing pages missing tags, properties
logseq-cldwalker Jan 17, 2025
bec095e
fix(regression): properties and classes collapsed on publishing
logseq-cldwalker Jan 17, 2025
3a62177
chore: rename public property to publishing-public?
logseq-cldwalker Jan 17, 2025
21ff539
enhance(plugin): install plugin from Github releases for development …
xyhp915 Jan 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: tests
  • Loading branch information
tiensonqin committed Dec 26, 2024
commit 704ae4d3f8c88095d5f1babe1e0f9455d5f780d0
6 changes: 3 additions & 3 deletions deps/common/src/logseq/common/util/date_time.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@
[day]
(let [s (str day)
year (js/parseInt (subs s 0 4))
month (js/parseInt (subs s 4 6))
month (dec (js/parseInt (subs s 4 6)))
day (js/parseInt (subs s 6))]
(t/local-date year month day)))
(js/Date. year month day)))

(defn int->journal-title
[day date-formatter]
(when day
(format (int->local-date day) date-formatter)))
(format (tf/parse (tf/formatter "yyyyMMdd") (str day)) date-formatter)))

(defn- get-weekday
[date]
Expand Down
4 changes: 2 additions & 2 deletions deps/graph-parser/test/logseq/graph_parser/exporter_test.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -293,11 +293,11 @@
(and b (readable-properties @conn b)))
":template properties are ignored to not invalidate its property types"))

(is (= {:logseq.task/deadline "Nov 26th, 2022"}
(is (= {:logseq.task/deadline 1669392000000}
(readable-properties @conn (db-test/find-block-by-content @conn "only deadline")))
"deadline block has correct journal as property value")

(is (= {:logseq.task/deadline "Nov 25th, 2022"}
(is (= {:logseq.task/deadline 1669305600000}
(readable-properties @conn (db-test/find-block-by-content @conn "only scheduled")))
"scheduled block converted to correct deadline")

Expand Down