As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [moment]

Questions related to "moment.js" library, which is used to parse, validate, manipulate, and display dates and times in JavaScript.

Filter by
Sorted by
Tagged with
0 votes
0 answers

using Moment react in an array and then format Date

i want to format a Date (StartDate and EndDate) in Moment React. Unfortunately, it's always giving me an error message. Maybe you can help me! Here is my code so far: this.state.ProjectFilterItem....
Matthias's user avatar
0 votes
0 answers

sharepoint One moment please. Everything is being prepared... stuck

good day everyone I have a question I have sharepoint on premise 2019 but I am stuck on the message below or above how can I solve this I have already tried it on 2 servers and both have the same ...
tobias kasander's user avatar
0 votes
0 answers

SP Online rest API datetime-column value inconsistency And how to compare the dates ...
userAZLogicApps's user avatar
1 vote
2 answers

Function always return same value instead throw else clauseif condition is not valid

I have this query running from JSLink into list. It get current time from moment.js and compare date with sharepoint column ctx.CurrentItem.Cumplimiento; and return result into column ...
Ledwing's user avatar
  • 465
3 votes
2 answers

Formatting a Date from a SharePoint List using Javascript and Momentjs

I'm querying a SharePoint list using a JavaScript file and returning the results to a HTML page. All the results are coming back fine, but the results from the date column 'DeviceAvailableFrom' is ...
Dazza's user avatar
  • 767
1 vote
3 answers

How to refer js file in item display template

I am trying to refer the moment.js file in display template for search content webpart. I have a display template with item template and control template. In the item template i am trying to add ...
SandeshR's user avatar
  • 1,992