Closed laurentperrinet closed 5 years ago
You mean in the talk listing page? If yes, this is a problem related with Hugo's YamL parser (I think, see issue #555). This choice is a "hack" before the parser is fix.
As @Bertbk stated, this was a workaround for a problem with Hugo parsing dates from YAML.
We since developed a much more optimal workaround in v4.1+, allowing everything to fully work as intended. Refer to the last point in the Breaking Changes section at https://sourcethemes.com/academic/updates/v4.1.0/
ok, great, using
publishDate
for the scheduled page publish datedate
for date and time for the talktransformed the malformed
into a correct one:
thanks for the quick answer and the pointer to the doc.
Hi,
The solution
ok, great, using
publishDate
for the scheduled page publish date- and
date
for date and time for the talkWorked for me. What is your formatting problem?
Perhaps related, There was one bit of code I was using was the small change to the import of publications from a bibtex file:
https://github.com/sourcethemes/academic-admin/pull/32
Be sure to use the ‘date’ entry instead of ‘year’.
Cheers, Laurent
-- Laurent Perrinet - INT (UMR 7289)/CNRS https://laurentperrinet.github.io/
Le 31 oct. 2019 à 00:17, Quan Nguyen notifications@github.com a écrit : I am running into the same problem. I tried to replaced date with publishDate and time_start with date, but it did not work. Could you please share your code Laurent?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
I'm facing the same issue. The date on the talk page shows publishing date. How can I set it to the future date.
My configuration -
# Talk start and end times.
# End time can optionally be hidden by prefixing the line with `#`.
date: "2022-10-13TT00:00:00Z"
# date_end: "2022-10-13T00:00:00Z"
all_day: true
# Schedule page publish date (NOT talk date).
publishDate: "2022-10-08T00:00:00Z"
Irrespective of date
, it picks up the publishDate
field & displays it. How can I fix it? Any suggestions please.
in the metadata, the different fields are used specifically for talks:
date
: Scheduled page publish datetime_start
: date and time for the talkCurrently, the scheduled date is shown when displaying the talk in the talk listing page, not the actual date, which will be more comprehensible for readers.