add-stage-front #159

Merged
PotapovaA merged 3 commits from add-stage-front into test 2026-09-15 12:45:23 +03:00
Showing only changes of commit ce31f71e9e - Show all commits

View File

@ -1,4 +1,3 @@
// PostgreSQL uses 1 BC for offset zero; there is no year zero in its timestamp syntax.
export const parseTemplateDate = (value) => {
const match = /^(\d+)-(\d{2})-(\d{2})[T ](\d{2}:\d{2}:\d{2}(?:\.\d+)?)( BC)?$/.exec(value || '');
if (!match) return null;